Skip to content

Commit 89757ff

Browse files
committed
recc healthcheck
1 parent ba9aaf8 commit 89757ff

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

server/docker-compose.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ services:
5555
cf:
5656
condition: service_healthy
5757
restart: true
58+
healthcheck:
59+
test: netstat | grep cf
60+
interval: 10s
61+
timeout: 30s
62+
retries: 3
5863
volumes:
5964
- type: bind
6065
source: docker/config/cf1.conf
@@ -74,6 +79,11 @@ services:
7479
cf:
7580
condition: service_healthy
7681
restart: true
82+
healthcheck:
83+
test: netstat | grep cf
84+
interval: 10s
85+
timeout: 30s
86+
retries: 3
7787
volumes:
7888
- type: bind
7989
source: docker/config/cf2.conf
@@ -93,7 +103,7 @@ services:
93103
networks:
94104
- net-recc-1
95105
depends_on:
96-
cf:
106+
recc1:
97107
condition: service_healthy
98108
restart: true
99109
ioc1-2:
@@ -105,7 +115,7 @@ services:
105115
networks:
106116
- net-recc-1
107117
depends_on:
108-
cf:
118+
recc2:
109119
condition: service_healthy
110120
restart: true
111121
ioc2-1:

0 commit comments

Comments
 (0)