Skip to content

Commit e9e93d7

Browse files
t-lopothos
andauthored
backend/docker-compose.test.yaml: replace simple depends_on with service restart
Co-authored-by: Kai Lüke <[email protected]>
1 parent f1f0704 commit e9e93d7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

backend/docker-compose.test.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,8 @@ services:
3535
network: host
3636
ports:
3737
- "8002:8000"
38-
# The "long form" depends_on silently fails in some scenarios (we've seen this with podman)
39-
# so the short form is added for compatibility.
40-
depends_on:
41-
- postgres
38+
# Workaround for missing support for depends_on conditions in podman-compose:
39+
restart: always
4240
depends_on:
4341
postgres:
4442
condition: service_healthy

0 commit comments

Comments
 (0)