edit docker compose config
Some checks failed
CI / build (3.10) (push) Has been cancelled
CI / build (3.8) (push) Has been cancelled
CI / build (3.9) (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled

This commit is contained in:
Simon Rieger 2024-09-15 17:01:50 +02:00
parent 86e7e2e220
commit f7a7c4a375

View file

@ -2,17 +2,43 @@ version: '2'
services: services:
snappass: snappass:
build: . build: .
image: pinterest/snappass #image: pinterest/snappass
ports: #ports:
- "5000:5000" # - "5000:5000"
stop_signal: SIGINT stop_signal: SIGINT
environment: environment:
- REDIS_HOST=redis - REDIS_HOST=redis
- NO_SSL=True - NO_SSL=True
depends_on: - VIRTUAL_HOST=share.brothertec.eu
- redis - VIRTUAL_PORT=5000
- LETSENCRYPT_HOST=share.brothertec.eu
- LETSENCRYPT_EMAIL=admin@brothertec.eu
redis: restart: unless-stopped
image: "redis:latest" 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