We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c48c7bc commit 2feeeb1Copy full SHA for 2feeeb1
docker-compose.pg.yml
@@ -25,8 +25,10 @@ services:
25
ports:
26
- "19099:9099"
27
depends_on:
28
- - ruoyi-pg
29
- - ruoyi-redis
+ ruoyi-pg:
+ condition: service_healthy
30
+ ruoyi-redis:
31
32
networks:
33
- ruoyi-network
34
@@ -58,6 +60,11 @@ services:
58
60
- "16379:6379"
59
61
62
63
+ healthcheck:
64
+ test: ["CMD", "redis-cli", "ping"]
65
+ interval: 5s
66
+ timeout: 10s
67
+ retries: 30
68
69
# 网络配置
70
0 commit comments