Spaces:
Running
Running
github-actions[bot] commited on
Commit ·
ea47c81
1
Parent(s): 1722dce
deploy: d84fba0 — 更新 docker-compose.yml
Browse files- docker-compose.yml +1 -7
docker-compose.yml
CHANGED
|
@@ -94,12 +94,6 @@ services:
|
|
| 94 |
- gateway_net
|
| 95 |
depends_on:
|
| 96 |
- backend
|
| 97 |
-
healthcheck:
|
| 98 |
-
test: ["CMD-SHELL", "wget -qO- http://localhost:80/ || exit 1"]
|
| 99 |
-
interval: 20s
|
| 100 |
-
timeout: 5s
|
| 101 |
-
retries: 3
|
| 102 |
-
start_period: 10s
|
| 103 |
|
| 104 |
# ─── Nginx Reverse Proxy ──────────────────────────────────────────────────
|
| 105 |
nginx:
|
|
@@ -115,7 +109,7 @@ services:
|
|
| 115 |
backend:
|
| 116 |
condition: service_healthy
|
| 117 |
frontend:
|
| 118 |
-
condition:
|
| 119 |
networks:
|
| 120 |
- gateway_net
|
| 121 |
|
|
|
|
| 94 |
- gateway_net
|
| 95 |
depends_on:
|
| 96 |
- backend
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
|
| 98 |
# ─── Nginx Reverse Proxy ──────────────────────────────────────────────────
|
| 99 |
nginx:
|
|
|
|
| 109 |
backend:
|
| 110 |
condition: service_healthy
|
| 111 |
frontend:
|
| 112 |
+
condition: service_started
|
| 113 |
networks:
|
| 114 |
- gateway_net
|
| 115 |
|