Files
py-dvt-ate/deploy/docker-compose.yml
Kai Chappell d1981a3342
All checks were successful
CI / Lint (push) Successful in 4s
CI / Type Check (push) Successful in 19s
CI / Test (push) Successful in 54s
CI / Release (push) Has been skipped
fix(docker): use isolated public-network for security
2026-01-29 22:31:26 +00:00

32 lines
685 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
cloudflared:
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