blob: 4b000c984f1407c60c65c935a90834bc5bbaf1ff [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 Gitelman51d50f02017-12-10 18:55:03 +02008sed -i '/^set -e/aJAVA_OPTIONS=\"-XX:MaxPermSize=256m -Xmx512m -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