-
Notifications
You must be signed in to change notification settings - Fork 3
/
compose.yaml
73 lines (73 loc) · 1.75 KB
/
compose.yaml
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
version: '3'
services:
inferno:
build:
context: ./
volumes:
- ./data:/opt/inferno/data
- ./lib/:/opt/inferno/lib
- ./:/opt/inferno/
depends_on:
redis:
condition: service_started
postgres:
condition: service_healthy
environment:
POSTGRES_HOST: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: inferno
POSTGRES_USER: postgres
TX_SERVER_URL: https://tx.dev.hl7.org.au/fhir
inferno-worker:
build:
context: ./
volumes:
- ./data:/opt/inferno/data
command: bundle exec sidekiq -r ./worker.rb
depends_on:
redis:
condition: service_started
postgres:
condition: service_healthy
environment:
POSTGRES_HOST: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: inferno
POSTGRES_USER: postgres
validator-api:
# image: infernocommunity/inferno-resource-validator:1.0.52
image: pavelrozhkov/wrapper:6.3.11
environment:
SESSION_CACHE_DURATION: -1
volumes:
- ./lib/au_core_test_kit/igs:/home/igs
nginx:
image: nginx
ports:
- "80:80"
command: [nginx, '-g', 'daemon off;']
volumes:
- ./config/nginx.conf:/etc/nginx/nginx.conf
depends_on:
validator-api:
condition: service_started
inferno:
condition: service_started
redis:
image: redis
ports:
- "127.0.0.1:6379:6379"
volumes:
- ./data/redis:/data
command: redis-server --appendonly yes
postgres:
image: postgres:16.2-alpine3.19
restart: always
healthcheck:
test: [ "CMD", "pg_isready", "-U", "postgres" ]
interval: 5s
timeout: 5s
retries: 5
environment:
POSTGRES_PASSWORD: password
POSTGRES_DB: inferno