Last active
October 13, 2021 17:45
-
-
Save citizenrich/31846bce3a848bd487d41e0f0e11b233 to your computer and use it in GitHub Desktop.
HAPI with Posgres
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
fhir: | |
container_name: fhir | |
image: hapiproject/hapi:latest | |
ports: | |
- "8080:8080" | |
environment: | |
profiles.active: r4 | |
spring.datasource.url: 'jdbc:postgresql://db:5432/hapi' | |
spring.datasource.username: admin | |
spring.datasource.password: admin | |
spring.datasource.driverClassName: org.postgresql.Driver | |
depends_on: | |
- db | |
db: | |
image: postgres | |
restart: always | |
environment: | |
POSTGRES_PASSWORD: admin | |
POSTGRES_USER: admin | |
POSTGRES_DB: hapi | |
# not needed for networking between containers but here for troubleshooting | |
ports: | |
- "5432:5432" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment