forked from Islandora-Devops/isle-dc
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.sample.env.yml
323 lines (323 loc) · 14.6 KB
/
docker-compose.sample.env.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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
# This is just an example of which environment variables you can override for
# each of the services. If docker-compose.env.yml does not exist this file will
# be used to create it.
#
# These are, at a bare minimum, the settings you need to configure to deploy
# between environments. This is not an exhaustive list of all the environment
# variables available for each service. For the full list see the respective
# README.md file for the service in the isle-buildkit repository:
#
# - activemq: https://github.com/Islandora-Devops/isle-buildkit/tree/main/activemq/README.md
# - alpaca: https://github.com/Islandora-Devops/isle-buildkit/tree/main/alpaca/README.md
# - blazegraph: https://github.com/Islandora-Devops/isle-buildkit/tree/main/blazegraph/README.md
# - cantaloupe: https://github.com/Islandora-Devops/isle-buildkit/tree/main/cantaloupe/README.md
# - crayfits: https://github.com/Islandora-Devops/isle-buildkit/tree/main/crayfits/README.md
# - drupal: https://github.com/Islandora-Devops/isle-buildkit/tree/main/drupal/README.md
# - fcrepo: https://github.com/Islandora-Devops/isle-buildkit/tree/main/fcrepo/README.md
# - fits: https://github.com/Islandora-Devops/isle-buildkit/tree/main/fits/README.md
# - gemini: https://github.com/Islandora-Devops/isle-buildkit/tree/main/gemini/README.md
# - homarus: https://github.com/Islandora-Devops/isle-buildkit/tree/main/homarus/README.md
# - houdini: https://github.com/Islandora-Devops/isle-buildkit/tree/main/houdini/README.md
# - hypercube: https://github.com/Islandora-Devops/isle-buildkit/tree/main/hypercube/README.md
# - mariadb: https://github.com/Islandora-Devops/isle-buildkit/tree/main/mariadb/README.md
# - matomo: https://github.com/Islandora-Devops/isle-buildkit/tree/main/matomo/README.md
# - milliner: https://github.com/Islandora-Devops/isle-buildkit/tree/main/milliner/README.md
# - recast: https://github.com/Islandora-Devops/isle-buildkit/tree/main/recast/README.md
# - solr: https://github.com/Islandora-Devops/isle-buildkit/tree/main/solr/README.md
#
# Unfortunately there isn't a way to a way to use a variable value in multiple
# places, except through the `.env` file, which does not support multi-line
# variables, so for consistency sake all the values are duplicated here, rather
# than doing a mixed approach where some are defined in `env` files and some here.
version: "3.7"
services:
activemq:
environment:
#
# Password for default JAAS authentication: https://activemq.apache.org/security
#
ACTIVEMQ_PASSWORD: password
#
# Password to log into the ActiveMQ Web Console: https://activemq.apache.org/web-console
#
ACTIVEMQ_WEB_ADMIN_PASSWORD: password
alpaca:
environment:
#
# Must be exactly the same as ACTIVEMQ_PASSWORD.
#
ALPACA_ACTIVEMQ_PASSWORD: password
#
# Password for admin user: https://karaf.apache.org/manual/latest/security
#
ALPACA_KARAF_ADMIN_PASSWORD: password
blazegraph:
# No environment variables require overriding.
cantaloupe:
# No environment variables require overriding.
mariadb:
environment:
#
# Password for the root user.
#
MYSQL_ROOT_PASSWORD: password
# If you use PostgreSQL for any services uncomment this section.
# postgresql:
# environment:
# #
# # Password for the root user.
# #
# POSTGRESQL_ROOT_PASSWORD: password
drupal:
environment:
#
# Settings which the Drupal site exposes as links need to be corrected to use the edge name for those services.
# If creating sub-sites you must specify each of these as the defaults would cause odd issues where it pulls
# content from the main site rather than the sub site.
#
# If you are using an IP address with traefik.me, change the dot between COMPOSE_PROJECT_NAME and
# DRUPAL_SITE_HOST to a hyphen (i.e. ${COMPOSE_PROJECT_NAME-isle-dc}.${DRUPAL_SITE_HOST-traefik.me}
# becomes ${COMPOSE_PROJECT_NAME-isle-dc}-${DRUPAL_SITE_HOST-traefik.me}
#
DRUPAL_DEFAULT_CANTALOUPE_URL: https://islandora-${COMPOSE_PROJECT_NAME-isle-dc}.${DRUPAL_SITE_HOST-traefik.me}/cantaloupe/iiif/2
DRUPAL_DEFAULT_FCREPO_HOST: fcrepo-${COMPOSE_PROJECT_NAME-isle-dc}.${DRUPAL_SITE_HOST-traefik.me}
DRUPAL_DEFAULT_DB_HOST: ${DRUPAL_DATABASE_SERVICE}-${COMPOSE_PROJECT_NAME-isle-dc}.${DRUPAL_SITE_HOST-traefik.me}
DRUPAL_DEFAULT_MATOMO_URL: https://islandora-${COMPOSE_PROJECT_NAME-isle-dc}.${DRUPAL_SITE_HOST-traefik.me}/matomo/
DRUPAL_DEFAULT_SITE_URL: http://islandora-${COMPOSE_PROJECT_NAME-isle-dc}.${DRUPAL_SITE_HOST-traefik.me} # Make sure this is just http and not https!
#
# Salt for one-time login links, cancel links, form tokens, etc, if deploying multiple
# instances of the site this must be set the same for all instances.
#
DRUPAL_DEFAULT_SALT: 9PPaL0CxZAIcq0l9wxgDGlCZrp7JdT_x7v9gVzpdbUjMt1PqDz3uD0Zy-i16DuJ1-Htuq5hqeg
#
# The administrator email account for the default site.
#
DRUPAL_DEFAULT_ACCOUNT_EMAIL: [email protected]
#
# The username of the admin account for the default site.
#
DRUPAL_DEFAULT_ACCOUNT_NAME: admin
#
# The password of the admin account for the default site.
#
DRUPAL_DEFAULT_ACCOUNT_PASSWORD: password
#
# The password Drupal uses to connect to the database for the default site.
#
DRUPAL_DEFAULT_DB_PASSWORD: password
#
# Must match MYSQL_ROOT_PASSWORD, used to create the database / user.
#
DRUPAL_DEFAULT_DB_ROOT_PASSWORD: password
#
# JWT Key Pair
#
DRUPAL_JWT_PRIVATE_KEY: |-
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEA6uK3nozywVaRCAB3FHdRZNHunSZvN/c31QimZAqQMGxj7JrG
h1LF8JRX+XAQ+CJcPD9r6xXjKSS1Gqa2Os2wARr/9abIwG5QeNsrJ8GMt3Z/WICn
NeaFAkUVviwKWcA61iFJWvTDAuI0hCaxArRKsk0BfFSMh+4u3JAdD9tUxUx6AAUX
UCdtPyluaBd53wuB0r9xRlPnDw6I9QHfKK80Xrrsu1PYATgrsy69stzCln3KlO5O
xc6O8OjMdjC2D2c3HmsO4CKPvvaVuaow/a9Pa3SNje4UXN+/1xUfQskxafP8CKVS
r8xxtwzSureiskb5/98moAiutpUtp15yyAm0rwIDAQABAoIBAA0PZh5OwAC4C4Bi
ZjyhFcmBUr8yL+Twvg3+WSIe5D2NCVFSmc9UbuUdmnaoIIlrf61p6Vo88VCMVfWR
Z3iFj0/AbJMAHxF0EM1nglLHlEdvM018ec+pbaPeq4LTeA/dfGgDmcyQ53b1lO30
KMt5st2PIpIDMX0tZTWmXbdP/rqplqiQmdwH0gv8PzEG6Y2ZVLBf5viH5IvVRpg7
9nDqLfe2W2ylFib+CtleX626xTUzGcJ0aqTRP1UkY4Jj5PI2/yVqttYPkvJtxZco
5/14AEMcu9FMBhADCSk/0y1TkKCGsi6/VNd78AB/RrZK32HfHCwTwxoXHQoaVKq6
hNQfokECgYEA+keGdVJrXMDylamARQdDe/nNgljqZZhfkKKYCGeckNqjp3iqfmld
/tqCPVxAO2mIo8dNNfM2MMv6loEPx9F2REe8k9NbWFrUZ486fMHPeO7WnHt92JyU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fFSMh+4u3JAdD9tUxUx6AAUXUCdtPyluaBd53wuB0r9xRlPnDw6I9QHfKK80
Xrrsu1PYATgrsy69stzCln3KlO5Oxc6O8OjMdjC2D2c3HmsO4CKPvvaVuaow/a9P
a3SNje4UXN+/1xUfQskxafP8CKVSr8xxtwzSureiskb5/98moAiutpUtp15yyAm0
rwIDAQAB
-----END PUBLIC KEY-----
fcrepo:
environment:
#
# The password Fedora uses to connect to the database.
#
FCREPO_DB_PASSWORD: password
#
# Must match MYSQL_ROOT_PASSWORD, used to create the database / user.
#
FCREPO_DB_ROOT_PASSWORD: password
#
# Definitive name of token for as defined in syn-settings.xml.
#
FCREPO_JWT_ADMIN_TOKEN: islandora
#
# Must be exactly the same as DRUPAL_JWT_PUBLIC_KEY.
#
FCREPO_JWT_PUBLIC_KEY: |-
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6uK3nozywVaRCAB3FHdR
ZNHunSZvN/c31QimZAqQMGxj7JrGh1LF8JRX+XAQ+CJcPD9r6xXjKSS1Gqa2Os2w
ARr/9abIwG5QeNsrJ8GMt3Z/WICnNeaFAkUVviwKWcA61iFJWvTDAuI0hCaxArRK
sk0BfFSMh+4u3JAdD9tUxUx6AAUXUCdtPyluaBd53wuB0r9xRlPnDw6I9QHfKK80
Xrrsu1PYATgrsy69stzCln3KlO5Oxc6O8OjMdjC2D2c3HmsO4CKPvvaVuaow/a9P
a3SNje4UXN+/1xUfQskxafP8CKVSr8xxtwzSureiskb5/98moAiutpUtp15yyAm0
rwIDAQAB
-----END PUBLIC KEY-----
gemini:
environment:
#
# The password Gemini uses to connect to the database.
#
GEMINI_DB_PASSWORD: password
#
# Must match MYSQL_ROOT_PASSWORD, used to create the database / user.
#
GEMINI_DB_ROOT_PASSWORD: password
#
# Must be exactly the same as FCREPO_JWT_ADMIN_TOKEN.
#
GEMINI_JWT_ADMIN_TOKEN: islandora
#
# Must be exactly the same as DRUPAL_JWT_PUBLIC_KEY.
#
GEMINI_JWT_PUBLIC_KEY: |-
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6uK3nozywVaRCAB3FHdR
ZNHunSZvN/c31QimZAqQMGxj7JrGh1LF8JRX+XAQ+CJcPD9r6xXjKSS1Gqa2Os2w
ARr/9abIwG5QeNsrJ8GMt3Z/WICnNeaFAkUVviwKWcA61iFJWvTDAuI0hCaxArRK
sk0BfFSMh+4u3JAdD9tUxUx6AAUXUCdtPyluaBd53wuB0r9xRlPnDw6I9QHfKK80
Xrrsu1PYATgrsy69stzCln3KlO5Oxc6O8OjMdjC2D2c3HmsO4CKPvvaVuaow/a9P
a3SNje4UXN+/1xUfQskxafP8CKVSr8xxtwzSureiskb5/98moAiutpUtp15yyAm0
rwIDAQAB
-----END PUBLIC KEY-----
homarus:
environment:
#
# Must be exactly the same as FCREPO_JWT_ADMIN_TOKEN.
#
HOMARUS_JWT_ADMIN_TOKEN: islandora
#
# Must be exactly the same as DRUPAL_JWT_PUBLIC_KEY.
#
HOMARUS_JWT_PUBLIC_KEY: |-
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6uK3nozywVaRCAB3FHdR
ZNHunSZvN/c31QimZAqQMGxj7JrGh1LF8JRX+XAQ+CJcPD9r6xXjKSS1Gqa2Os2w
ARr/9abIwG5QeNsrJ8GMt3Z/WICnNeaFAkUVviwKWcA61iFJWvTDAuI0hCaxArRK
sk0BfFSMh+4u3JAdD9tUxUx6AAUXUCdtPyluaBd53wuB0r9xRlPnDw6I9QHfKK80
Xrrsu1PYATgrsy69stzCln3KlO5Oxc6O8OjMdjC2D2c3HmsO4CKPvvaVuaow/a9P
a3SNje4UXN+/1xUfQskxafP8CKVSr8xxtwzSureiskb5/98moAiutpUtp15yyAm0
rwIDAQAB
-----END PUBLIC KEY-----
houdini:
environment:
#
# Must be exactly the same as FCREPO_JWT_ADMIN_TOKEN.
#
HOUDINI_JWT_ADMIN_TOKEN: islandora
#
# Must be exactly the same as DRUPAL_JWT_PUBLIC_KEY.
#
HOUDINI_JWT_PUBLIC_KEY: |-
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6uK3nozywVaRCAB3FHdR
ZNHunSZvN/c31QimZAqQMGxj7JrGh1LF8JRX+XAQ+CJcPD9r6xXjKSS1Gqa2Os2w
ARr/9abIwG5QeNsrJ8GMt3Z/WICnNeaFAkUVviwKWcA61iFJWvTDAuI0hCaxArRK
sk0BfFSMh+4u3JAdD9tUxUx6AAUXUCdtPyluaBd53wuB0r9xRlPnDw6I9QHfKK80
Xrrsu1PYATgrsy69stzCln3KlO5Oxc6O8OjMdjC2D2c3HmsO4CKPvvaVuaow/a9P
a3SNje4UXN+/1xUfQskxafP8CKVSr8xxtwzSureiskb5/98moAiutpUtp15yyAm0
rwIDAQAB
-----END PUBLIC KEY-----
hypercube:
environment:
#
# Must be exactly the same as FCREPO_JWT_ADMIN_TOKEN.
#
HYPERCUBE_JWT_ADMIN_TOKEN: islandora
#
# Must be exactly the same as DRUPAL_JWT_PUBLIC_KEY.
#
HYPERCUBE_JWT_PUBLIC_KEY: |-
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6uK3nozywVaRCAB3FHdR
ZNHunSZvN/c31QimZAqQMGxj7JrGh1LF8JRX+XAQ+CJcPD9r6xXjKSS1Gqa2Os2w
ARr/9abIwG5QeNsrJ8GMt3Z/WICnNeaFAkUVviwKWcA61iFJWvTDAuI0hCaxArRK
sk0BfFSMh+4u3JAdD9tUxUx6AAUXUCdtPyluaBd53wuB0r9xRlPnDw6I9QHfKK80
Xrrsu1PYATgrsy69stzCln3KlO5Oxc6O8OjMdjC2D2c3HmsO4CKPvvaVuaow/a9P
a3SNje4UXN+/1xUfQskxafP8CKVSr8xxtwzSureiskb5/98moAiutpUtp15yyAm0
rwIDAQAB
-----END PUBLIC KEY-----
matomo:
environment:
#
# The password Matomo uses to connect to the database.
#
MATOMO_DB_PASSWORD: password
#
# Must match MYSQL_ROOT_PASSWORD, used to create the database / user.
#
MATOMO_DB_ROOT_PASSWORD: password
#
# Administrator email.
#
MATOMO_USER_EMAIL: [email protected]
# To regenerate a the `MATOMO_USER_PASS` you must use the following
# snippet of [PHP](https://matomo.org/faq/how-to/faq_191/).
#
# php -r 'echo password_hash(md5("password"), PASSWORD_DEFAULT) . "\n";'
#
# N.B. You must double up '$' characters to prevent them from being
# interpolated by docker-compose.yml
MATOMO_USER_PASS: $$2y$$10$$S38e7HPM9LI3aOIvcnRsfuMCm4ipNP572QsvbCK60upoHVJ61hMrS
#
# Must be exactly the same as DRUPAL_DEFAULT_SITE_URL without the protocol.
#
# If you are using an IP address with traefik.me, change the dot between COMPOSE_PROJECT_NAME and
# DRUPAL_SITE_HOST to a hyphen (i.e. ${COMPOSE_PROJECT_NAME-isle-dc}.${DRUPAL_SITE_HOST-traefik.me}
# becomes ${COMPOSE_PROJECT_NAME-isle-dc}-${DRUPAL_SITE_HOST-traefik.me}
#
MATOMO_SITE_HOST: islandora-${COMPOSE_PROJECT_NAME-isle-dc}.${DRUPAL_SITE_HOST-traefik.me}
#
# Timezone of site.
#
MATOMO_SITE_TIMEZONE: America/Halifax
milliner:
# No environment variables require overriding.
recast:
environment:
#
# Must be exactly the same as FCREPO_JWT_ADMIN_TOKEN.
#
RECAST_JWT_ADMIN_TOKEN: islandora
#
# Must be exactly the same as DRUPAL_JWT_PUBLIC_KEY.
#
RECAST_JWT_PUBLIC_KEY: |-
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6uK3nozywVaRCAB3FHdR
ZNHunSZvN/c31QimZAqQMGxj7JrGh1LF8JRX+XAQ+CJcPD9r6xXjKSS1Gqa2Os2w
ARr/9abIwG5QeNsrJ8GMt3Z/WICnNeaFAkUVviwKWcA61iFJWvTDAuI0hCaxArRK
sk0BfFSMh+4u3JAdD9tUxUx6AAUXUCdtPyluaBd53wuB0r9xRlPnDw6I9QHfKK80
Xrrsu1PYATgrsy69stzCln3KlO5Oxc6O8OjMdjC2D2c3HmsO4CKPvvaVuaow/a9P
a3SNje4UXN+/1xUfQskxafP8CKVSr8xxtwzSureiskb5/98moAiutpUtp15yyAm0
rwIDAQAB
-----END PUBLIC KEY-----
solr:
# No environment variables require overriding.