- './ssh/id_rsa:/root/.ssh/id_rsa:ro'
- './ssh/id_rsa.pub:/root/.ssh/id_rsa.pub:ro'
- './ssh/known_hosts:/root/.ssh/known_hosts'
- - './www/:/var/www/html/'
+ - '${WWW}:/var/www/html/'
- './config/httpd/apache2.conf:/etc/apache2/apache2.conf'
- './bin/:/usr/local/bin/'
- './config/crontab:/etc/crontab'
cd /docker/fluidbook-hosting-loadbalancer
if [ ! -f ./env ]
then
- printf "VIRTUAL_HOST=s1.lb.fluidbook.com\nLETSENCRYPT_HOST=s1.lb.fluidbook.com" > ./env
+ printf "VIRTUAL_HOST=s1.lb.fluidbook.com\nLETSENCRYPT_HOST=s1.lb.fluidbook.com\nSYNC=1\nWWW=./www" > ./env
fi
git config --global --add safe.directory /docker/fluidbook-hosting-loadbalancer
git fetch --all