-
Notifications
You must be signed in to change notification settings - Fork 22
/
docker-compose.yml
196 lines (180 loc) · 5.23 KB
/
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
volumes:
root-home:
rabbitmq:
postgres-12:
postgres-13:
postgres-13-email-alert-api:
postgres-14:
postgres-14-postgis:
postgres-16:
mysql-8:
mongo-3.6:
go:
elasticsearch-6:
elasticsearch-7:
opensearch-2:
networks:
default:
services:
postgres-12:
image: postgres:12
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- postgres-12:/var/lib/postgresql/data
postgres-13:
image: postgres:13
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- postgres-13:/var/lib/postgresql/data
postgres-13-email-alert-api:
image: postgres:13
environment:
POSTGRES_USER: email-alert-api
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- postgres-13-email-alert-api:/var/lib/postgresql/data
postgres-14:
image: postgres:14
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- postgres-14:/var/lib/postgresql/data
postgres-14-postgis:
# Using the kartoza image because it supports ARM64 and AMD64
image: kartoza/postgis:14
environment:
POSTGRES_USER: postgres
POSTGRES_PASS: password
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- postgres-14-postgis:/var/lib/postgresql/data
postgres-16:
image: postgres:16
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- postgres-16:/var/lib/postgresql/data
memcached:
image: memcached
mongo-3.6:
image: mongo:3.6
volumes:
- mongo-3.6:/data/db
ports:
- "27017:27017"
- "28017:28017"
mysql-8:
# Using the orcale image because they are available in ARM64 and AMD64 variants
image: mysql:8-oracle
volumes:
- mysql-8:/var/lib/mysql
command: --max_allowed_packet=1073741824
environment:
MYSQL_ROOT_PASSWORD: root
redis:
image: redis
rabbitmq:
image: rabbitmq:management
ports:
- 15672:15672
volumes:
- rabbitmq:/var/lib/rabbitmq
elasticsearch-6:
build:
context: services/elasticsearch-6
dockerfile: Dockerfile
environment:
ES_JAVA_OPTS: -Xms1g -Xmx1g
volumes:
- elasticsearch-6:/usr/share/elasticsearch/data
ports:
- "9200:9200"
- "9300:9300"
elasticsearch-7:
image: elasticsearch:7.9.3
environment:
- http.host=0.0.0.0
- transport.host=127.0.0.1
- xpack.security.enabled=false
- ES_JAVA_OPTS=-Xms1g -Xmx1g
volumes:
- elasticsearch-7:/usr/share/elasticsearch/data
opensearch-2:
image: opensearchproject/opensearch:2
environment:
- discovery.type=single-node
- "OPENSEARCH_JAVA_OPTS=-Xms2g -Xmx2g"
- "DISABLE_INSTALL_DEMO_CONFIG=true" # Prevents execution of bundled demo script which installs demo certificates and security configurations to OpenSearch
- "DISABLE_SECURITY_PLUGIN=true"
volumes:
- opensearch-2:/usr/share/opensearch/data
nginx-proxy:
image: jwilder/nginx-proxy:latest
ports:
- "80:80"
volumes:
- /var/run/docker.sock:/tmp/docker.sock
- ./nginx-proxy.conf:/etc/nginx/proxy.conf
networks:
default:
aliases:
- account-api.dev.gov.uk
- asset-manager.dev.gov.uk
- authenticating-proxy.dev.gov.uk
- bouncer.dev.gov.uk
- bouncer-redirect.dev.gov.uk
- collections-publisher.dev.gov.uk
- collections.dev.gov.uk
- contacts-admin.dev.gov.uk
- content-publisher.dev.gov.uk
- content-data-api.dev.gov.uk
- content-data-admin.dev.gov.uk
- content-store.dev.gov.uk
- content-tagger.dev.gov.uk
- draft-origin.dev.gov.uk
- draft-router.dev.gov.uk
- email-alert-api.dev.gov.uk
- email-alert-frontend.dev.gov.uk
- feedback.dev.gov.uk
- frontend.dev.gov.uk
- finder-frontend.dev.gov.uk
- government-frontend.dev.gov.uk
- govspeak-preview.dev.gov.uk
- govuk-chat.dev.gov.uk
- govuk-developer-docs.dev.gov.uk
- govuk-publishing-components.dev.gov.uk
- hmrc-manuals-api.dev.gov.uk
- link-checker-api.dev.gov.uk
- local-links-manager.dev.gov.uk
- locations-api.dev.gov.uk
- manuals-publisher.dev.gov.uk
- maslow.dev.gov.uk
- places-manager.dev.gov.uk
- publisher.dev.gov.uk
- publishing-api.dev.gov.uk
- release.dev.gov.uk
- router-api.dev.gov.uk
- router.dev.gov.uk
- search-admin.dev.gov.uk
- search-api.dev.gov.uk
- search-api-v2.dev.gov.uk
- search-v2-evaluator.dev.gov.uk
- search.dev.gov.uk
- service-manual-publisher.dev.gov.uk
- short-url-manager.dev.gov.uk
- signon.dev.gov.uk
- smart-answers.dev.gov.uk
- specialist-publisher.dev.gov.uk
- static.dev.gov.uk
- support-api.dev.gov.uk
- support.dev.gov.uk
- transition.dev.gov.uk
- travel-advice-publisher.dev.gov.uk
- whitehall-frontend.dev.gov.uk
- whitehall-admin.dev.gov.uk
- www-origin.dev.gov.uk
- www.dev.gov.uk
- attributes.login.service.dev.gov.uk
- www.login.service.dev.gov.uk