potential fix for network issue

This commit is contained in:
2026-01-03 00:50:44 +05:30
parent 5aac40b137
commit 58e44c7853

View File

@@ -1,6 +1,8 @@
services: services:
void-sentinel: void-sentinel:
build: . build: .
networks:
- dokploy-network
environment: environment:
- RUST_LOG - RUST_LOG
- API_KEY - API_KEY
@@ -18,17 +20,13 @@ services:
- IGNORE_RUDE - IGNORE_RUDE
- API_PORT=8080 - API_PORT=8080
restart: unless-stopped restart: unless-stopped
healthcheck:
test: [ "CMD", "curl", "-H", "X-API-Key: ${API_KEY}", "-f", "http://localhost:8080/api/beta_testing" ]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
web: web:
build: ./web build: ./web
ports: ports:
- "3000:3000" - "3000:3000"
networks:
- dokploy-network
environment: environment:
- AUTH_SECRET - AUTH_SECRET
- AUTH_DISCORD_ID - AUTH_DISCORD_ID
@@ -43,3 +41,7 @@ services:
void-sentinel: void-sentinel:
condition: service_healthy condition: service_healthy
restart: unless-stopped restart: unless-stopped
networks:
dokploy-network:
external: true