generated from inferno-framework/inferno-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.background.yml
41 lines (41 loc) · 1.24 KB
/
docker-compose.background.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
version: '3'
services:
hl7_validator_service:
image: infernocommunity/inferno-resource-validator
environment:
# Defines how long validator sessions last if unused, in minutes:
# Negative values mean sessions never expire, 0 means sessions immediately expire
SESSION_CACHE_DURATION: -1
volumes:
- ./lib/inferno_template/igs:/app/igs
# To let the service share your local FHIR package cache,
# uncomment the below line
# - ~/.fhir:/home/ktor/.fhir
validator_service:
image: infernocommunity/fhir-validator-service
# Update this path to match your directory structure
volumes:
- ./lib/inferno_template/igs:/home/igs
fhir_validator_app:
image: infernocommunity/fhir-validator-app
depends_on:
- validator_service
environment:
EXTERNAL_VALIDATOR_URL: http://localhost/validatorapi
VALIDATOR_BASE_PATH: /validator
nginx:
image: nginx
volumes:
- ./config/nginx.background.conf:/etc/nginx/nginx.conf
ports:
- "80:80"
command: [nginx, '-g', 'daemon off;']
depends_on:
- fhir_validator_app
redis:
image: redis
ports:
- "6379:6379"
volumes:
- ./data/redis:/data
command: redis-server --appendonly yes