fix(docker): use host nginx, fix libgdk-pixbuf package name
All checks were successful
CI / Lint (push) Successful in 4s
CI / Type Check (push) Successful in 19s
CI / Test (push) Successful in 52s
CI / Release (push) Has been skipped

- Update libgdk-pixbuf2.0-0 to libgdk-pixbuf-2.0-0 for Debian Trixie
- Remove bundled nginx container in favor of host nginx
- Use host networking for cloudflared to reach host nginx
- Expose streamlit on localhost:8080 for host nginx proxy
This commit is contained in:
2026-01-29 22:24:02 +00:00
parent a6ef649090
commit 51a479c61e
2 changed files with 5 additions and 19 deletions

View File

@@ -7,37 +7,23 @@ services:
restart: unless-stopped
environment:
- IDLE_PAUSE_SECONDS=${IDLE_PAUSE_SECONDS:-30} # Pause physics after 30s idle
expose:
- "8080"
ports:
- "127.0.0.1:8080:8080"
volumes:
- ./data:/app/data
networks:
- dvt-ate
nginx:
image: nginx:alpine
container_name: py-dvt-ate-nginx
restart: unless-stopped
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
expose:
- "80"
depends_on:
- streamlit
networks:
- dvt-ate
cloudflared:
image: cloudflare/cloudflared:latest
container_name: py-dvt-ate-tunnel
restart: unless-stopped
network_mode: host
command: tunnel run
environment:
- TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}
depends_on:
- nginx
networks:
- dvt-ate
- streamlit
networks:
dvt-ate: