feature/alerts-and-map #2
+2
-13
@@ -27,16 +27,5 @@ services:
|
|||||||
backend:
|
backend:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
||||||
frontend:
|
# frontend 仅在远程服务器部署,本地通过 docker-compose 不再启动
|
||||||
build: ./frontend
|
# 部署命令见 .claude/rules/07-remote-operations.md
|
||||||
ports:
|
|
||||||
- "18002:80"
|
|
||||||
restart: unless-stopped
|
|
||||||
depends_on:
|
|
||||||
backend:
|
|
||||||
condition: service_healthy
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "wget", "-qO-", "http://localhost:80/health"]
|
|
||||||
interval: 15s
|
|
||||||
timeout: 10s
|
|
||||||
retries: 5
|
|
||||||
|
|||||||
Reference in New Issue
Block a user