fix(docker): use external apps-network for NPM integration
This commit is contained in:
@@ -7,24 +7,25 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- IDLE_PAUSE_SECONDS=${IDLE_PAUSE_SECONDS:-30} # Pause physics after 30s idle
|
- IDLE_PAUSE_SECONDS=${IDLE_PAUSE_SECONDS:-30} # Pause physics after 30s idle
|
||||||
ports:
|
expose:
|
||||||
- "127.0.0.1:8080:8080"
|
- "8080"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/app/data
|
- ./data:/app/data
|
||||||
networks:
|
networks:
|
||||||
- dvt-ate
|
- apps-network
|
||||||
|
|
||||||
cloudflared:
|
cloudflared:
|
||||||
image: cloudflare/cloudflared:latest
|
image: cloudflare/cloudflared:latest
|
||||||
container_name: py-dvt-ate-tunnel
|
container_name: py-dvt-ate-tunnel
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
network_mode: host
|
|
||||||
command: tunnel run
|
command: tunnel run
|
||||||
environment:
|
environment:
|
||||||
- TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}
|
- TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}
|
||||||
depends_on:
|
depends_on:
|
||||||
- streamlit
|
- streamlit
|
||||||
|
networks:
|
||||||
|
- apps-network
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
dvt-ate:
|
apps-network:
|
||||||
driver: bridge
|
external: true
|
||||||
|
|||||||
Reference in New Issue
Block a user