update depends_on service_healthy
Some checks are pending
Deploy CI - 12.0 / deploy (push) Waiting to run

This commit is contained in:
skywalker 2025-01-20 16:21:08 +08:00
parent ea654495a3
commit cdf6e5fcce
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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