Skip to content

Commit 85365f1

Browse files
authored
Improve nginx depends_on policy (#3914)
1 parent af32d37 commit 85365f1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docker-compose.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,8 +671,12 @@ services:
671671
- "/usr/bin/curl"
672672
- http://localhost
673673
depends_on:
674-
- web
675-
- relay
674+
web:
675+
<<: *depends_on-healthy
676+
restart: true
677+
relay:
678+
<<: *depends_on-healthy
679+
restart: true
676680
relay:
677681
<<: *restart_policy
678682
image: "$RELAY_IMAGE"

0 commit comments

Comments
 (0)