fix depends_on
This commit is contained in:
parent
78940df2ab
commit
9e55669a35
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue