-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
86 lines (82 loc) · 2.51 KB
/
docker-compose.yml
File metadata and controls
86 lines (82 loc) · 2.51 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
services:
swag:
#
# a reverse proxy to expose the hapi server
# complete snapshot of all configs found at gs://hapi-vm/opt/appdata
# see /opt/appdata/swag/config/nginx/ for proxy configuration
#
image: lscr.io/linuxserver/swag:latest
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- URL=$DOMAIN
- VALIDATION=http
- SUBDOMAINS=docs,hapi,google-fhir #optional
# - CERTPROVIDER= #optional
# - DNSPLUGIN=cloudflare #optional
# - PROPAGATION= #optional
# - EMAIL= #optional
# - ONLY_SUBDOMAINS=false #optional
- EXTRA_DOMAINS=$EXTRA_DOMAINS
- STAGING=${STAGING:-false} # optional
volumes:
- ./config:/config
ports:
- 443:443
- 80:80 #optional
restart: unless-stopped
# hapi:
# image: hapiproject/hapi:v7.6.0
# container_name: hapi
# restart: on-failure
# volumes:
# - ./application.yaml:/configs/application.yaml
# environment:
# # specify our mounted config file
# SPRING_CONFIG_LOCATION: "file:///configs/application.yaml"
# # overwrite config values
# SPRING_DATASOURCE_URL: "jdbc:postgresql://postgres:5432/hapi"
# SPRING_DATASOURCE_USERNAME: ${DB_USERNAME}
# SPRING_DATASOURCE_PASSWORD: ${DB_PASSWORD}
# SPRING_DATASOURCE_DRIVERCLASSNAME: "org.postgresql.Driver"
# spring.jpa.properties.hibernate.dialect: "ca.uhn.fhir.jpa.model.dialect.HapiFhirPostgresDialect"
#
# hapi.fhir.server_address: "${FHIR_BASE}"
# hapi.fhir.tester.home.server_address: "${FHIR_BASE}"
#
#
## hapi.fhir.fhir_version: R5
## hapi.fhir.enforce_referential_integrity_on_write: false
## hapi.fhir.bulk_export_enabled: true
## hapi.fhir.bulk_import_enabled: true
## hapi.fhir.tester.home.fhir_version: R5
## hapi.fhir.delete_expunge_enabled: true
## hapi.fhir.expunge_enabled: true
# hapi.hfql.endpoint.enabled: true
# ports:
# - "8080:8080"
# postgres:
# image: postgres:15-alpine
# container_name: postgres
# restart: always
# environment:
# POSTGRES_DB: "hapi"
# POSTGRES_USER: ${DB_USERNAME}
# POSTGRES_PASSWORD: ${DB_PASSWORD}
# volumes:
# - hapi-fhir-postgres:/var/lib/postgresql/data
google-fhir:
image: google-fhir
container_name: google-fhir
ports:
# (HOST:CONTAINER),
- "8090:8080"
environment:
- FHIR_SERVICE_URL=${FHIR_SERVICE_URL}
restart: unless-stopped
volumes:
hapi-fhir-postgres: