diff --git a/README.md b/README.md index 51fa972..653e91b 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ cp .env.defaults .env export DOMAIN=yourdomain.com echo DOMAIN=$DOMAIN >> .env echo ALLOWED_DOMAINS=$DOMAIN >> .env -echo SITES='"'$DOMAIN=guppe:8085'"' >> .env +echo SITES=$DOMAIN=guppe:8085 >> .env docker swarm init --advertise-addr 127.0.0.1 # all on one node for simple setup or split these onto different nodes for a distributed swarm docker node update --label-add web=true --label-add database=true --label-add delivery=true $(hostname) diff --git a/docker-compose.yml b/docker-compose.yml index 1d43120..adb96ee 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,6 +13,8 @@ services: - 443:443 volumes: - ssl_data:/etc/resty-auto-ssl + depends_on: + - guppe env_file: '.env' guppe: image: datatitian/guppe @@ -34,7 +36,7 @@ services: options: max-size: '10m' healthcheck: - test: ["CMD", "curl", "-f", "http://localhost"] + test: ["CMD", "curl", "-f", "http://localhost:8085"] interval: 1m30s timeout: 10s retries: 3