修复工作
This commit is contained in:
@@ -73,25 +73,19 @@ services:
|
||||
BACKEND_API_URL: http://localhost:${BACKEND_PORT}
|
||||
container_name: rtsp-frontend
|
||||
restart: always
|
||||
ports:
|
||||
- "${FRONTEND_PORT}:80"
|
||||
network_mode: "host"
|
||||
depends_on:
|
||||
backend:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
TZ: ${TZ}
|
||||
networks:
|
||||
- rtsp-network
|
||||
NGINX_PORT: ${FRONTEND_PORT}
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:80"]
|
||||
test: ["CMD", "curl", "-f", "http://localhost:${FRONTEND_PORT}"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
networks:
|
||||
rtsp-network:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
redis-data:
|
||||
backend-logs:
|
||||
|
||||
Reference in New Issue
Block a user