-
Notifications
You must be signed in to change notification settings - Fork 19
/
local-docker-compose.yml
126 lines (124 loc) · 2.8 KB
/
local-docker-compose.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
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
117
118
119
120
121
122
123
124
125
126
#This is provided as a convienience that will rebuild ALL container resources.
version: '2'
services:
gkldap:
container_name: gatekeeper_local_ldap
image: osixia/openldap:1.2.0
command: --copy-service
mem_limit: 100m
ports:
- "389:389"
environment:
LDAP_TLS: "false"
volumes:
- ./config/ldap/://container/service/slapd/assets/config/bootstrap/ldif/custom
smtp:
container_name: gatekeeper_local_smtp
image: namshi/smtp:latest
ports:
- "25"
mem_limit: 50m
environment:
SMARTHOST_ADDRESS: imailgw.finra.org
SMARTHOST_PORT: 25
gkdb:
container_name: gatekeeper_local_postgres
image: postgres:9.5
restart: always
mem_limit: 50m
ports:
- "5432:5432"
environment:
POSTGRES_DB: gatekeeper
POSTGRES_USER: gatekeeper_app
POSTGRES_PASSWORD: l0ca1t3st
gkaccounts:
build:
context: ./demo-services/fake-account-service
args:
jar_file: fake-account-service-*.jar
mem_limit: 500m
ports:
- "8080:8080"
volumes:
- ./config/accounts-service/application.yml:/usr/share/gatekeeper/config/application.yml
gatekeeper-ec2-service:
depends_on:
- gkdb
build:
context: ./services/ec2
args:
jar_file: gatekeeper-ec2-service-*.jar
mem_limit: 550m
ports:
- "8080"
env_file:
- config/gatekeeper_config.env
- config/ec2_service_config.env
image: gatekeeper/ec2-service:latest
volumes:
- ${AWS_DIRECTORY}:/root/.aws
links:
- "gkdb"
- "smtp"
- "gkldap"
- "gkaccounts"
gatekeeper-rds-service:
depends_on:
- gkdb
build:
context: ./services/rds
args:
jar_file: gatekeeper-rds-service-*.jar
mem_limit: 550m
ports:
- "8080"
env_file:
- config/gatekeeper_config.env
- config/rds_service_config.env
environment:
- gatekeeper.rds.password=${GATEKEEPER_RDS_USER_PASSWORD}
image: gatekeeper/rds-service:latest
volumes:
- ${AWS_DIRECTORY}:/root/.aws
links:
- "gkdb"
- "smtp"
- "gkldap"
- "gkaccounts"
gatekeeper-ui:
build:
context: ./ui
mem_limit: 50m
ports:
- "443"
links:
- "gatekeeper-ec2-service"
- "gatekeeper-rds-service"
gatekeeper-dev:
image: gatekeeper/local-proxy
mem_limit: 50m
environment:
- USER=anderj
ports:
- "443:443"
links:
- "gatekeeper-ui"
gatekeeper-support:
image: gatekeeper/local-proxy
mem_limit: 50m
environment:
- USER=bryand
ports:
- "444:443"
links:
- "gatekeeper-ui"
gatekeeper-approver:
image: gatekeeper/local-proxy
mem_limit: 50m
environment:
- USER=wellsh
ports:
- "445:443"
links:
- "gatekeeper-ui"