From d9f56fb85a4a512016ec484c2e5b04106d6cba5e Mon Sep 17 00:00:00 2001 From: Will Murphy Date: Fri, 27 Jan 2023 13:31:59 -0600 Subject: [PATCH] a few more tweaks to get it working --- README.md | 2 +- docker-compose.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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