blob: 82f01576efb898da5b470047a3ed5b711fbc2fbb [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001#!/bin/sh
2
3export CHEFNAME=${ENVNAME}
4cd /root/chef-solo
5echo "normal['HOST_IP'] = \"${HOST_IP}\"" > /root/chef-solo/cookbooks/sdc-catalog-fe/attributes/default.rb
6chef-solo -c solo.rb -E ${CHEFNAME}
7
Tal Gitelmanba229232017-08-07 17:59:54 +03008sed -i '/^set -e/aJAVA_OPTIONS=\"-XX:MaxPermSize=256m -Xmx1500m -Dconfig.home=${JETTY_BASE}\/config -Dlog.home=${JETTY_BASE}\/logs -Dlogback.configurationFile=${JETTY_BASE}\/config\/catalog-fe\/logback.xml -Dconfiguration.yaml=${JETTY_BASE}\/config\/catalog-fe\/configuration.yaml -Donboarding_configuration.yaml=${JETTY_BASE}\/config\/onboarding-fe\/onboarding_configuration.yaml\"' /docker-entrypoint.sh
Michael Lando451a3402017-02-19 10:28:42 +02009sed -i '/^set -e/aTMPDIR=${JETTY_BASE}\/temp' /docker-entrypoint.sh
10
11cd /var/lib/jetty
12/docker-entrypoint.sh
ml636r0649e652017-02-20 21:10:54 +020013