Skip to content

Commit

Permalink
update depends_on condition
Browse files Browse the repository at this point in the history
  • Loading branch information
SkywalkerSpace committed Jan 18, 2025
1 parent 40dd717 commit b9c5c2c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions manual/repo/docker/pro/seafile-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,12 @@ services:
caddy: ${SEAFILE_SERVER_PROTOCOL:-http}://${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty}
caddy.reverse_proxy: "{{upstreams 80}}"
depends_on:
- db
- memcached
- elasticsearch
db:
condition: service_healthy
memcached:
condition: service_started
elasticsearch:
condition: service_started
networks:
- seafile-net

Expand Down

0 comments on commit b9c5c2c

Please sign in to comment.