fix(compose/typesense): document dependency of api on app

This commit is contained in:
jon r 2025-04-11 12:11:23 +02:00
parent b98988f5a4
commit 5dbd079315
1 changed files with 15 additions and 8 deletions

View File

@ -3,12 +3,13 @@ networks:
web: web:
external: true external: true
x-django: &django x-django-depends-on: &django-depends-on
depends_on: postgres:
postgres: condition: service_healthy
condition: service_healthy redis:
redis: condition: service_healthy
condition: service_healthy
x-dns: &dns
dns: 172.17.0.1 dns: 172.17.0.1
dns_search: funkwhale.test dns_search: funkwhale.test
@ -22,13 +23,19 @@ services:
extends: extends:
file: ./compose/app.django.yml file: ./compose/app.django.yml
service: api service: api
<<: *django depends_on:
<<: *django-depends-on
app:
condition: service_healthy
<<: *dns
worker: worker:
extends: extends:
file: ./compose/app.django.yml file: ./compose/app.django.yml
service: worker service: worker
<<: *django depends_on:
<<: *django-depends-on
<<: *dns
web: web:
extends: extends: