Skip to content

Commit

Permalink
Merge pull request #7 from manuelprinz/fix_compose
Browse files Browse the repository at this point in the history
Fix Docker Compose configuration
  • Loading branch information
SevKohler authored Apr 23, 2024
2 parents 76263ee + 16792e3 commit 6a5ca49
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions setup/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ services:
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
# PGDATA: /var/lib/postgresql/data/pgdata
PGDATA: /var/lib/postgresql/data/pgdata
ports:
- 5432:5432
#volumes:
# - cdm-db-pgdata:/var/lib/postgresql/data
volumes:
- cdm-db-pgdata:/var/lib/postgresql/data
- ./vocab:/data/vocab:ro
healthcheck:
test: "pg_isready -h localhost -U $$POSTGRES_USER"
interval: 10s
Expand Down Expand Up @@ -80,13 +81,13 @@ services:
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
# PGDATA: /var/lib/postgresql/data/pgdata
PGDATA: /var/lib/postgresql/data/pgdata
EHRBASE_USER_ADMIN: ehrbase
EHRBASE_PASSWORD_ADMIN: ehrbase
EHRBASE_USER: ehrbase_restricted
EHRBASE_PASSWORD: ehrbase_restricted
# volumes:
# - ehrdb-pgdata:/var/lib/postgresql/data/pgdata
volumes:
- ehrdb-pgdata:/var/lib/postgresql/data/pgdata
healthcheck:
test: "pg_isready -h localhost -U $$POSTGRES_USER"
interval: 10s
Expand All @@ -97,6 +98,6 @@ networks:
ehrbase-net:
eos-net:

#volumes:
# cdm-db-pgdata:
# ehrdb-pgdata:
volumes:
cdm-db-pgdata:
ehrdb-pgdata:

0 comments on commit 6a5ca49

Please sign in to comment.