From f7a7c4a375dff19bbf867677eeb51589e73c535d Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Sun, 15 Sep 2024 17:01:50 +0200 Subject: [PATCH] edit docker compose config --- docker-compose.yml | 52 ++++++++++++++++++++++++++++++++++------------ 1 file changed, 39 insertions(+), 13 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index ffdd7f7..e4d24bd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,17 +2,43 @@ version: '2' services: - snappass: - build: . - image: pinterest/snappass - ports: - - "5000:5000" - stop_signal: SIGINT - environment: - - REDIS_HOST=redis - - NO_SSL=True - depends_on: - - redis + snappass: + build: . + #image: pinterest/snappass + #ports: + # - "5000:5000" + stop_signal: SIGINT + environment: + - REDIS_HOST=redis + - NO_SSL=True + - VIRTUAL_HOST=share.brothertec.eu + - VIRTUAL_PORT=5000 + - LETSENCRYPT_HOST=share.brothertec.eu + - LETSENCRYPT_EMAIL=admin@brothertec.eu - redis: - image: "redis:latest" + restart: unless-stopped + labels: + - "com.centurylinklabs.watchtower.enable=false" + + networks: + - default + - proxy + - edge-tier + + depends_on: + - redis + + redis: + image: "redis:latest" + restart: unless-stopped + labels: + - "com.centurylinklabs.watchtower.enable=true" + + +networks: + proxy: + name: nginx-proxy + external: true + edge-tier: + name: edge + external: true