32 lines
685 B
YAML
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
|