Skip to content

Commit

Permalink
update depends_on service_healthy
Browse files Browse the repository at this point in the history
  • Loading branch information
SkywalkerSpace committed Jan 20, 2025
1 parent ea65449 commit cdf6e5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion manual/repo/docker/notification-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ services:
caddy.1_handle_path.0_rewrite: "* {uri}"
caddy.1_handle_path.1_reverse_proxy: "{{upstreams 8083}}"
depends_on:
- db
db:
condition: service_healthy
networks:
- seafile-net

Expand Down
3 changes: 2 additions & 1 deletion manual/repo/docker/seadoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ services:
caddy.2_handle_path.0_rewrite: "* {uri}"
caddy.2_handle_path.1_reverse_proxy: "{{upstreams 80}}"
depends_on:
- db
db:
condition: service_healthy
networks:
- seafile-net

Expand Down

0 comments on commit cdf6e5f

Please sign in to comment.