fix depends_on

This commit is contained in:
knoflook 2023-10-19 14:59:17 +02:00
parent 78940df2ab
commit 9e55669a35
1 changed files with 3 additions and 6 deletions

View File

@ -7,8 +7,7 @@ services:
- source: nginx_config
target: /etc/nginx/conf.d/default.conf
depends_on:
app:
condition: service_healthy
- app
environment:
- DOMAIN
healthcheck:
@ -38,8 +37,7 @@ services:
networks:
- internal
depends_on:
db:
condition: service_started
- db
- redis
configs:
- source: geoip_conf
@ -97,8 +95,7 @@ services:
depends_on:
# shiv + geoip data gets loaded on the first run of the app
# so to ensure it's available in the worker too, we need to wait
app:
condition: service_healthy
- app
volumes:
- "shiv_data:/root/.shiv"
- "geoip_data:/var/lib/GeoIP"