Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docker-compose/local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ services:
python manage.py migrate &&
python manage.py runserver 0.0.0.0:8000
'
image: nest-local-backend
build:
context: ../backend
dockerfile: docker/Dockerfile.local
Expand Down Expand Up @@ -113,10 +114,10 @@ services:
sh -c '
python manage.py rqworker ai --with-scheduler
'
build:
context: ../backend
dockerfile: docker/Dockerfile.local
image: nest-local-backend
depends_on:
backend:
condition: service_started
cache:
condition: service_healthy
db:
Expand Down
2 changes: 2 additions & 0 deletions docker-compose/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ services:
python manage.py rqworker ai --with-scheduler
'
depends_on:
production-nest-backend:
condition: service_started
production-nest-cache:
condition: service_healthy
production-nest-db:
Expand Down
2 changes: 2 additions & 0 deletions docker-compose/staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ services:
python manage.py rqworker ai --with-scheduler
'
depends_on:
staging-nest-backend:
condition: service_started
staging-nest-cache:
condition: service_healthy
staging-nest-db:
Expand Down