fix(docker): use external apps-network for NPM integration
This commit is contained in:
@@ -7,24 +7,25 @@ services:
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- IDLE_PAUSE_SECONDS=${IDLE_PAUSE_SECONDS:-30} # Pause physics after 30s idle
|
||||
ports:
|
||||
- "127.0.0.1:8080:8080"
|
||||
expose:
|
||||
- "8080"
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
networks:
|
||||
- dvt-ate
|
||||
- apps-network
|
||||
|
||||
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:
|
||||
- apps-network
|
||||
|
||||
networks:
|
||||
dvt-ate:
|
||||
driver: bridge
|
||||
apps-network:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user