-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
104 lines (96 loc) · 2.22 KB
/
docker-compose.yml
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
version: "3.9"
services:
file-uploader:
image: healthtag/file-uploader
container_name: file-uploader
ports:
- "8888:3000"
networks:
- hapi-fhir-network
restart: on-failure
volumes:
- ./workingdir:/app/workingdir
env_file:
- .file-uploader.env
fhir-transformer:
image: healthtag/fhir-transformer
container_name: fhir-transformer
networks:
- hapi-fhir-network
restart: on-failure
volumes:
- ./workingdir:/app/workingdir
env_file:
- .fhir-transformer.env
web:
build:
context: user-portal/
dockerfile: Dockerfile
container_name: portal
restart: always
ports:
- "80:80"
networks:
- hapi-fhir-network
hapi-fhir-jpaserver-start:
image: "healthtag/hapi-fhir-jpaserver:latest"
container_name: hapi-fhir-jpaserver-start
volumes:
- ./hapi-data:/data/hapi
restart: on-failure
ports:
- "8080:8080"
expose:
- 8080
networks:
- hapi-fhir-network
env_file:
- .hapi.env
hapi-fhir-postgres:
image: postgres:15-alpine
shm_size: 256MB
container_name: hapi-fhir-postgres
restart: always
env_file:
- .hapi-postgres.env
volumes:
- ./hapi-postgres-data:/var/lib/postgresql/data
networks:
- hapi-fhir-network
command: " -c shared_buffers=2GB -c max_wal_size=3GB -c max_connections=100 -c max_prepared_transactions=100 -c max_locks_per_transaction=128 "
kong-postgres:
image: postgres:15-alpine
env_file:
- .kong-postgres.env
networks:
- hapi-fhir-network
volumes:
- ./kong-postgres-data:/var/lib/postgresql/data
kong:
image: kong/kong-gateway:3.1.0.0-ubuntu
user: root
env_file:
- .kong.env
ports:
- "8000:8000"
- "8001:8001"
- "8002:8002"
- "8443:8443"
- "8444:8444"
restart: on-failure:5
depends_on:
- kong-postgres
networks:
- hapi-fhir-network
kong-migration:
image: kong/kong-gateway:3.1.0.0-ubuntu
command: kong migrations bootstrap
networks:
- hapi-fhir-network
restart: on-failure
env_file:
- .kong.env
depends_on:
- kong-postgres
networks:
hapi-fhir-network: