forked from openmobilityfoundation/mds-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml.tpl
116 lines (105 loc) · 2.21 KB
/
docker-compose.yml.tpl
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
version: "3.7"
services:
agency:
image: mds-agency:${AGENCY_VERSION}
ports:
- "4001"
environment:
PATH_PREFIX: /agency
PG_HOST: postgres
PG_NAME: mds
PG_USER: mdsadmin
PG_PASS: "Password123#"
PG_MIGRATIONS: "true"
REDIS_HOST: redis
audit:
image: mds-audit:$AUDIT_VERSION
ports:
- "4002"
environment:
PATH_PREFIX: /audit
PG_HOST: postgres
PG_NAME: mds
PG_USER: mdsadmin
PG_PASS: "Password123#"
PG_MIGRATIONS: "true"
REDIS_HOST: redis
policy:
image: mds-policy:$POLICY_VERSION
ports:
- "4003"
environment:
PATH_PREFIX: /policy
PG_HOST: postgres
PG_NAME: mds
PG_USER: mdsadmin
PG_PASS: "Password123#"
PG_MIGRATIONS: "true"
REDIS_HOST: redis
compliance:
image: mds-compliance:$COMPLIANCE_VERSION
ports:
- "4004"
environment:
PATH_PREFIX: /compliance
PG_HOST: postgres
PG_NAME: mds
PG_USER: mdsadmin
PG_PASS: "Password123#"
PG_MIGRATIONS: "true"
REDIS_HOST: redis
daily:
image: mds-daily:$DAILY_VERSION
ports:
- "4005"
environment:
PATH_PREFIX: /daily
PG_HOST: postgres
PG_NAME: mds
PG_USER: mdsadmin
PG_PASS: "Password123#"
PG_MIGRATIONS: "true"
REDIS_HOST: redis
native:
image: mds-native:$NATIVE_VERSION
ports:
- "4006"
environment:
PATH_PREFIX: /native
PG_HOST: postgres
PG_NAME: mds
PG_USER: mdsadmin
PG_PASS: "Password123#"
PG_MIGRATIONS: "true"
REDIS_HOST: redis
policy-author:
image: mds-policy-author:$POLICY_AUTHOR_VERSION
ports:
- "4007"
environment:
PATH_PREFIX: /policy-author
PG_HOST: postgres
PG_NAME: mds
PG_USER: mdsadmin
PG_PASS: "Password123#"
PG_MIGRATIONS: "true"
REDIS_HOST: redis
gateway:
build:
context: ./nginx
ports:
- "80:80"
redis:
image: redis:5
ports:
- "6379"
postgres:
image: postgres:10
ports:
- "5432:5432"
environment:
POSTGRES_USER: mdsadmin
POSTGRES_PASSWORD: "Password123#"
POSTGRES_DB: mds
networks:
default: