-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
36 lines (33 loc) · 967 Bytes
/
docker-compose-dev.yml
File metadata and controls
36 lines (33 loc) · 967 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: '3'
services:
# Database for HAPI FHIR service
#
hapi-db:
image: postgres
environment:
# Variables read from local .env file
- POSTGRES_DB=${HAPI_DB_NAME}
- POSTGRES_USER=${HAPI_DB_USERNAME}
- POSTGRES_PASSWORD=${HAPI_DB_PASSWORD}
volumes:
#- hapi_db_config:/etc/postgresql
#- hapi_db_logs:/var/log/postgresql
- hapi_db_data:/var/lib/postgresql/data
# HAPI FHIR service
#
hapi:
image: hapiproject/hapi:v5.0.0
volumes:
- ./data/hapi/hapi.properties:/etc/hapi/hapi.properties
- hapi_data:/data/hapi
environment:
- JAVA_OPTS=-Dhapi.properties=/etc/hapi/hapi.properties
ports:
- "8080:8080"
depends_on:
- hapi-db
# Volumes for data that must be preserved if containers stop/re-start.
#
volumes:
hapi_data:
hapi_db_data: