forked from Islandora-Devops/isle-dc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.env.yml
227 lines (227 loc) · 10.9 KB
/
docker-compose.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
# 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
cantaloupe:
# No environment variables require overriding.
crayfits:
# No environment variables require overriding.
mariadb:
environment:
#
# Password for the root user.
#
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
drupal:
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
DRUPAL_DEFAULT_CONFIGDIR: /var/www/drupal/config/sync
DRUPAL_DEFAULT_INSTALL_EXISTING_CONFIG: "true"
DRUPAL_DEFAULT_PROFILE: minimal
#
# 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_DB_HOST: ${DRUPAL_DATABASE_SERVICE}-${COMPOSE_PROJECT_NAME-isle-dc}.${DRUPAL_SITE_HOST-traefik.me}
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 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 K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9vPa5cCgYEA3OOdnxRD31QHheFYbRPx
Eo0xPNae4VWvGmb2SYywmQPuplMQHot+Qvy1L9SoeAc3alzvHytta3nLy2NS+yc5
+x9ZJxrGJt/bUR8PHqarJu+ch/VR54ih/8uhImGjvknvv2wuWZC0d5pA+RYheofE
tLgp0MCGUATMKC4HokmmqCkCgYBEjoBTlFIn33CJw3WNyeGbefdgZb/eAlYDbfTN
5cfJDvAJZr/aAqdzR2hAecQ/mvaZw4V5dAgj8Fc6uRyjjVwNbngdwQm43km9X7VP
ktSAXw96Jjr8TbygPVNIUYhvBEPMOnjsJlfTkiB0thToFvpChF+nR37kfbPKCv5h
Epc8nwKBgQCdKyLi54Fm24nqEuZYbAxxGI9TVT7wJjoKGn64JWrXtX7xRltmJC3t
nLwNCojcbyG4kVB+Myzr2OEtFkO45j83GjrZ4O+jCuSj+AmCxEcc7xNA9cgu9usG
sQXdGmIIB0Cbk54OyHNdsZgZCXi9GTRF9uvYZKL9qktS+UZMJ1Xz/g==
-----END RSA PRIVATE KEY-----
#
# All other *_JWT_PUBLIC keys should match this value exactly.
#
DRUPAL_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-----
DRUPAL_SP_PROTECTINDEXPAGE: "false"
DRUPAL_SP_PROTECTMETADATAPAGE: "false"
DRUPAL_SP_CHECKFORUPDATES: "true"
DRUPAL_SP_TECHCONTACTNAME: Moo Cow
DRUPAL_SP_TECHCONTACTEMAIL: [email protected]
DRUPAL_SP_ASSERTIONALLOWEDCLOCKSKEW: 180
DRUPAL_SP_SESSION_DURATIONSECONDS: 28800
DRUPAL_SP_SESSION_DATASTORETIMEOUTSECONDS: 14400
DRUPAL_SP_SESSION_STATETIMEOUTSECONDS: 3600
DRUPAL_SP_SESSION_COOKIENAME: SimpleSAMLSessionID
DRUPAL_SP_SESSION_COOKIELIFETIMESECONDS: 0
DRUPAL_SP_SESSION_COOKIEPATH: /
DRUPAL_SP_SESSION_COOKIESECURE: "false"
DRUPAL_IDP_ENTITYID: ${IDP_ENTITYID}
DRUPAL_IDP_BASEURL: ${IDP_BASEURL}
DRUPAL_SP_ENTITYID: ${SP_ENTITYID}
idp:
environment:
IDP_BASEURL: ${IDP_BASEURL}
IDP_ENTITYID: ${IDP_ENTITYID}
SP_BASEURL: ${SP_BASEURL}
SP_ENTITYID: ${SP_ENTITYID}
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-----
solr:
# No environment variables require overriding.