Skip to content

Commit

Permalink
Merge pull request #66 from ministryofjustice/fix/repair-run-local
Browse files Browse the repository at this point in the history
Quick Fix - Repair run local
  • Loading branch information
TawneeOwl authored Nov 25, 2024
2 parents 99d5595 + 222145f commit dbc5d71
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ services:
environment:
SECRET_KEY: "TEST_KEY"
<<: *database_config
DB_USER: postgres
DB_PASSWORD: postgres
DB_NAME: case_api
DB_PORT: 5432
DB_HOST: db
volumes:
- ./app:/home/app/case_api/app
depends_on:
Expand All @@ -42,6 +47,11 @@ services:
command: alembic upgrade head
environment:
<<: *database_config
DB_USER: postgres
DB_PASSWORD: postgres
DB_NAME: case_api
DB_PORT: 5432
DB_HOST: db
depends_on:
db:
condition: service_healthy

0 comments on commit dbc5d71

Please sign in to comment.