forked from onc-healthit/inferno-program
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.postgres.yml
51 lines (51 loc) · 1.24 KB
/
docker-compose.postgres.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
version: '3.2'
services:
inferno:
build:
context: ./
volumes:
- ./config.yml:/var/www/inferno/config.yml
- ./db/config.postgres.yml:/var/www/inferno/db/config.yml
- ./batch:/var/www/inferno/batch
- type: bind
source: "./resources/terminology/validators"
target: "/var/www/inferno/resources/terminology/validators"
depends_on:
- validator_service
- db
restart: unless-stopped
networks:
- inferno-production
db:
image: postgres:9.6-alpine
restart: unless-stopped
volumes:
- inferno-pgdata:/var/lib/postgresql/data
networks:
- inferno-production
environment:
POSTGRES_DB: inferno_program
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_USER: postgres
validator_service:
image: infernocommunity/fhir-validator-service:v2.1.0
restart: unless-stopped
networks:
- inferno-production
environment:
DISABLE_TX: 'true'
nginx:
image: nginx
networks:
- inferno-production
volumes:
- ./docker/nginx.conf:/etc/nginx/nginx.conf:ro
ports:
- "4567:80"
command: [nginx, '-g', 'daemon off;']
depends_on:
- inferno
volumes:
inferno-pgdata:
networks:
inferno-production: