version: '3.8' services: shannon: deploy: labels: - traefik.enable=true - traefik.http.routers.shannon.rule=Host(`shannon.antopoid.com`) - traefik.http.routers.shannon.entrypoints=websecure - traefik.http.routers.shannon.tls.certresolver=myhttpchallenge - traefik.http.services.shannon.loadbalancer.server.port=8080 build: context: . dockerfile: Dockerfile container_name: shannon-streamlit restart: always expose: - 8080 volumes: # Persist SQLite databases across container restarts - shannon_data:/app/data healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/_stcore/health"] interval: 30s timeout: 10s retries: 3 start_period: 40s volumes: shannon_data: driver: local networks: default: external: name: nginx-proxy