]> _ Git - fluidbook-hosting-loadbalancer.git/commitdiff
wip #7073 @0:20
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 26 Sep 2024 12:29:50 +0000 (14:29 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 26 Sep 2024 12:29:50 +0000 (14:29 +0200)
docker-compose.yml
update

index 978a7f0ed46546bd2538bd041eb75f706a8d13c0..3c7c9071c63f44465780463fbe8675104aea2aa2 100644 (file)
@@ -8,7 +8,7 @@ services:
       - './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'
diff --git a/update b/update
index 19b21c3ef367bcb58f8e41af78c4640c02f2498f..192b0a17a910bdefce21b8b24ab07c6444724eac 100644 (file)
--- a/update
+++ b/update
@@ -3,7 +3,7 @@ docker network create fluidbook-hosting-loadbalancer
 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