Skip to content

Commit

Permalink
修复docker compose,加入集群失败bug
Browse files Browse the repository at this point in the history
  • Loading branch information
harryyann committed Oct 10, 2024
1 parent 60e5cdc commit 18d8c4a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ services:
restart: on-failure
healthcheck:
test: [ "CMD", "curl", "-f", "http://rkvd-node1:10002/health" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
interval: 6s
timeout: 5s
retries: 5
start_period: 3s
networks:
- rkv-network

Expand All @@ -28,10 +28,10 @@ services:
restart: on-failure
healthcheck:
test: [ "CMD", "curl", "-f", "http://rkvd-node2:10004/health" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
interval: 6s
timeout: 5s
retries: 5
start_period: 3s
depends_on:
- rkvd-node1
networks:
Expand All @@ -47,10 +47,10 @@ services:
restart: on-failure
healthcheck:
test: [ "CMD", "curl", "-f", "http://rkvd-node3:10006/health" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
interval: 6s
timeout: 5s
retries: 5
start_period: 3s
depends_on:
- rkvd-node2
networks:
Expand Down

0 comments on commit 18d8c4a

Please sign in to comment.