-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcompose.yml
72 lines (72 loc) · 1.91 KB
/
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
version: '3'
services:
inferno_web:
build:
context: ./
mem_limit: 1500m
restart: unless-stopped
volumes:
- ./resources:/opt/inferno/resources
- ./_site:/opt/inferno/_site
depends_on:
- validator-api
- inferno_db
env_file:
- .env.development
environment:
TX_SERVER_URL: https://tx.dev.hl7.org.au/fhir
INITIALIZE_VALIDATOR_SESSIONS: false
inferno_worker:
build:
context: ./
command: /opt/inferno/worker.sh
mem_limit: 2000m
restart: unless-stopped
volumes:
- ./resources:/opt/inferno/resources
depends_on:
- redis
- inferno_db
environment:
- FHIR_RESOURCE_VALIDATOR_URL=http://validator-api:3500
inferno_db:
image: postgres:14.1-alpine
mem_limit: 600m
shm_size: 1g
restart: unless-stopped
volumes:
- ./data/pg:/var/lib/postgresql/data
environment:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: inferno_production
nginx:
image: nginx
volumes:
- ./_site:/var/www/inferno/public/
- ./config/nginx.conf:/etc/nginx/nginx.conf
# - /etc/ssl/certs/inferno:/etc/ssl/certs/inferno:ro
# to use tls on localhost for development, comment out above line and uncomment below
- ./config/development-certs:/etc/ssl/certs/inferno:ro
ports:
- "80:80"
- "443:443"
command: [nginx, '-g', 'daemon off;']
mem_limit: 100m
restart: unless-stopped
depends_on:
- validator-api
redis:
image: redis
volumes:
- ./data/redis:/data
command: redis-server --appendonly yes
mem_limit: 100m
restart: unless-stopped
validator-api:
# image: pavelrozhkov/wrapper:6.3.11
# image: markiantorno/validator-wrapper:1.0.58-SNAPSHOT
image: ghcr.io/beda-software/validator-wrapper:latest
environment:
SESSION_CACHE_DURATION: -1
volumes:
- ./lib/inferno_platform_template/igs:/home/igs