Files
py-dvt-ate/deploy/docker-compose.yml
Kai Chappell f4c34e4689
All checks were successful
CI / Lint (push) Successful in 6s
CI / Type Check (push) Successful in 21s
CI / Test (push) Successful in 1m0s
CI / Release (push) Has been skipped
fix(deploy): rename cloudflared service to avoid DNS collision
Multiple projects using the same service name on a shared Docker network
causes DNS resolution conflicts. Renamed to 'tunnel' for uniqueness.
2026-02-03 00:15:13 +00:00

32 lines
680 B
YAML

services:
streamlit:
build:
context: ..
dockerfile: Dockerfile
container_name: py-dvt-ate-streamlit
restart: unless-stopped
environment:
- IDLE_PAUSE_SECONDS=${IDLE_PAUSE_SECONDS:-30} # Pause physics after 30s idle
expose:
- "8080"
volumes:
- ./data:/app/data
networks:
- public-network
tunnel:
image: cloudflare/cloudflared:latest
container_name: py-dvt-ate-tunnel
restart: unless-stopped
command: tunnel run
environment:
- TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}
depends_on:
- streamlit
networks:
- public-network
networks:
public-network:
external: true