File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ services:
1212 volumes :
1313 - postgres_test_data:/var/lib/postgresql/data
1414 healthcheck :
15- test : pg_isready
15+ test : [CMD-SHELL, ' pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}']
1616 start_period : 5s
1717 interval : 30s
1818 timeout : 5s
@@ -162,7 +162,7 @@ services:
162162 volumes :
163163 - horizon_test_data:/var/lib/postgresql/data
164164 healthcheck :
165- test : pg_isready
165+ test : [CMD-SHELL, ' pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}']
166166 start_period : 5s
167167 interval : 30s
168168 timeout : 5s
@@ -180,7 +180,7 @@ services:
180180 POSTGRES_USER : syncmaster
181181 POSTGRES_PASSWORD : 123UsedForTestOnly@!
182182 healthcheck :
183- test : pg_isready
183+ test : [CMD-SHELL, ' pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}']
184184 start_period : 5s
185185 interval : 30s
186186 timeout : 5s
@@ -271,7 +271,7 @@ services:
271271 ports :
272272 - 5440:5432
273273 healthcheck :
274- test : pg_isready
274+ test : [CMD-SHELL, ' pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}']
275275 start_period : 5s
276276 interval : 30s
277277 timeout : 5s
You can’t perform that action at this time.
0 commit comments