File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ services:
55 container_name : ubuntu_node
66 ports :
77 - " 20022:22"
8+ depends_on :
9+ openvoxserver :
10+ condition : service_healthy
811
912 puppet_7_node :
1013 build :
@@ -14,6 +17,9 @@ services:
1417 container_name : puppet_7_node
1518 ports :
1619 - " 20025:22"
20+ depends_on :
21+ openvoxserver :
22+ condition : service_healthy
1723
1824 postgres :
1925 image : docker.io/postgres:17-alpine
@@ -25,6 +31,11 @@ services:
2531 volumes :
2632 - ./fixtures/puppetdb/custom_source:/docker-entrypoint-initdb.d
2733 restart : always
34+ healthcheck :
35+ test : ["CMD-SHELL", "sh -c 'pg_isready -U openvoxdb -d openvoxdb'"]
36+ interval : 10s
37+ timeout : 3s
38+ retries : 3
2839
2940 openvoxdb :
3041 image : ghcr.io/openvoxproject/openvoxdb:latest
@@ -34,6 +45,9 @@ services:
3445 restart : always
3546 ports :
3647 - " 18081:8081"
48+ depends_on :
49+ openvoxserver :
50+ condition : service_healthy
3751
3852 openvoxserver :
3953 image : ghcr.io/openvoxproject/openvoxserver:latest
You can’t perform that action at this time.
0 commit comments