- 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
31 lines
671 B
YAML
31 lines
671 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
|
|
ports:
|
|
- "127.0.0.1:8080:8080"
|
|
volumes:
|
|
- ./data:/app/data
|
|
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:
|
|
- streamlit
|
|
|
|
networks:
|
|
dvt-ate:
|
|
driver: bridge
|