-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose-total_prod.yml
63 lines (58 loc) · 1.27 KB
/
docker-compose-total_prod.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
version: '3'
services:
ehrbase:
image: ehrbase/ehrbase:next
ports:
- 8080:8080
networks:
- ehrbase-net
env_file:
- .env.ehrbase
environment:
DB_URL: jdbc:postgresql://ehrdb:5432/ehrbase
DB_USER_ADMIN: ehrbase
DB_PASS_ADMIN: ehrbase
DB_USER: ehrbase_restricted
DB_PASS: ehrbase_restricted
ehrdb:
image: ehrbase/ehrbase-postgres:latest
ports:
- 5432:5432
networks:
- ehrbase-net
volumes:
- ./.pgdata:/var/lib/postgresql/data
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
EHRBASE_USER_ADMIN: ehrbase
EHRBASE_PASSWORD_ADMIN: ehrbase
EHRBASE_USER: ehrbase_restricted
EHRBASE_PASSWORD: ehrbase_restricted
openehrtool:
build:
context: .
dockerfile: ./Dockerfile.prod
image: surfercrs4/openehrtoolprod/latest
volumes:
- .:/code
env_file:
- ./.env.prod
depends_on:
- redis
- ehrbase
ports:
- 9000:9000
networks:
- ehrbase-net
redis:
image: redis:alpine
ports:
- 6379:6379
command: redis-server /redis.conf
volumes:
- ./redis.conf:/redis.conf
networks:
- ehrbase-net
networks:
ehrbase-net: {}