fix: 修复docker-compose.yml health检查端口错误问题
This commit is contained in:
@ -16,7 +16,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- konsoft-shared-network
|
- konsoft-shared-network
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8081/health"]
|
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
@ -46,7 +46,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- konsoft-shared-network
|
- konsoft-shared-network
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
|
test: ["CMD", "curl", "-f", "http://localhost:8081/health"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user