fix(compose): 修复前端健康检查地址
This commit is contained in:
@@ -124,7 +124,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- backend
|
- backend
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "wget -qO- http://localhost:80/ || exit 1"]
|
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:80/ || exit 1"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
@@ -134,4 +134,3 @@ volumes:
|
|||||||
redis_data:
|
redis_data:
|
||||||
rabbitmq_data:
|
rabbitmq_data:
|
||||||
backend_uploads:
|
backend_uploads:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user