Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Docker compose for development portal. #329

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Update the Docker compose script to declare all container dependencies.
  • Loading branch information
SubOptimal committed Apr 17, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 201383bb553a9aef9f9cb1cdb0b4b338d6242f33
10 changes: 8 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -41,7 +41,10 @@ services:
- ./api/migrations:/opt/obs/api/migrations
- ./api/alembic.ini:/opt/obs/api/alembic.ini
depends_on:
- keycloak
postgres:
condition: service_healthy
keycloak:
condition: service_started
ports:
- '3000:3000'
restart: on-failure
@@ -61,7 +64,10 @@ services:
- ./api/config.overrides.py:/opt/obs/api/config.overrides.py
- ./local/api-data:/data
depends_on:
- keycloak
postgres:
condition: service_healthy
keycloak:
condition: service_started
restart: on-failure
entrypoint:
- python