-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
68 lines (65 loc) · 1.79 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
version: "3"
services:
cqf-ruler:
image: phema/phema-cqf-ruler:0.3.2
container_name: phema-cqf-ruler
restart: unless-stopped
networks:
- phema-network
volumes:
- ${PWD}/hapi.properties:/opt/phema/hapi.properties
- ${PWD}/setenv.sh:/usr/local/tomcat/bin/setenv.sh
postgres:
image: postgres:11-alpine
container_name: phema-postgres
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=postgres
networks:
- phema-network
volumes:
- phema-postgres-volume:/var/lib/postgresql/data
api:
image: phema/phema-workbench-api:0.4.6
container_name: phema-workbench-api
restart: unless-stopped
networks:
- phema-network
volumes:
- phema-api-volume:/opt/phema/workbench/
repo-api:
image: phema/phema-workbench-repo-api:1.0.4
container_name: phema-workbench-repo-api
restart: unless-stopped
networks:
- phema-network
app:
image: phema/phema-workbench-app:0.7.8
container_name: phema-workbench-app
restart: unless-stopped
networks:
- phema-network
cors:
image: redocly/cors-anywhere
container_name: phema-cors-proxy
restart: unless-stopped
networks:
- phema-network
ingress:
image: nginx:1.19-alpine
container_name: phema-workbench-ingress
restart: unless-stopped
ports:
- "4321:443"
networks:
- phema-network
volumes:
- ${PWD}/nginx-${PHEMA_WORKBENCH_ENV:-local}-https.conf:/etc/nginx/conf.d/default.conf
- ${PHEMA_WORKBENCH_HTPASSWD_PATH:-/tmp/.htpasswd}:/opt/phema/workbench/
- ${PHEMA_WORKBENCH_CERTS_PATH:-/opt/phema/workbench/certs}:/opt/phema/workbench/certs
- ${PWD}/nginx.conf:/etc/nginx/nginx.conf
volumes:
phema-postgres-volume:
phema-api-volume:
networks:
phema-network: