forked from Islandora-Devops/isle-dc
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.env
161 lines (132 loc) · 5.86 KB
/
.env
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
# Environment variables defined in this file apply to both the Makefile and to
# docker-compose.yml
#
# Due to restrictions in the `env-file` format we cannot specify multi-line
# values for environment variables. For this reason the environment
# variables are set on service definitions in the docker-compose.*.yml files,
# rather than defined in `env-file` files.
# Determines which docker-compose file(s) will be used for the `drupal` service.
# Valid values are 'local', progenitor of the production image, or 'drupal-dev',
# which precedes the development image, including remote debugging support.
#
# If this value is changed, docker-compose.yml must be updated in order for it
# to take effect; e.g. 'make dev-up'
ENVIRONMENT=local
REQUIRED_SERIVCES=activemq alpaca cantaloupe idc-crayfish drupal mariadb solr idc-snapshot testcafe minio
###############################################################################
# Environment variables specific to composer.
###############################################################################
COMPOSE_HTTP_TIMEOUT=480
# Also used for naming services in traefik as well as defining network alias and urls.
# For example the `drupal` service will be found at `islandora.${COMPOSE_PROJECT_NAME}.${DRUPAL_SITE_HOST}`.
# See https://docs.docker.com/compose/reference/envvars/
COMPOSE_PROJECT_NAME=idc
# If you are running locally, leave this. traefik.me resolves to localhost.
# If you are deploying to a remote server and you own a domain for it, place it here.
# If you have an IP but no domain, change this to X-X-X-X.traefik.me, where X-X-X-X
# is your IP address but with hyphens instead of dots.
DRUPAL_SITE_HOST=traefik.me
# Allows building custom image with buildkit.
COMPOSE_DOCKER_CLI_BUILD=1
DOCKER_BUILDKIT=1
# Dockerfile to use when building the custom project.
PROJECT_DRUPAL_DOCKERFILE=Dockerfile
# Includes `traefik` as a service, if false assume we are sharing a traefik
# from another project.
INCLUDE_TRAEFIK_SERVICE=true
# Includes `watchtower` as a service.
INCLUDE_WATCHTOWER_SERVICE=false
# Includes `etcd` as a service.
INCLUDE_ETCD_SERVICE=false
# Include SAML-related services.
INCLUDE_SAML_SERVICE=true
# Choose which database backend to use: mariadb/postgresql
# Services that only support MySQL (Matomo) do not have the option to change.
# Also at this time not all Drupal modules work with PostgresSQL, it is provided
# as option here so it can be tested and fixed at some later date.
DRUPAL_DATABASE_SERVICE=mariadb
FCREPO_DATABASE_SERVICE=mariadb
GEMINI_DATABASE_SERVICE=mariadb
# Root database password
MYSQL_ROOT_PASSWORD=password
# Repository to use for pulling isle-buildkit images, change to `local`
# To use images you have built locally with isle-buildkit, or use your
# custom docker registry if you have set up one.
#
REPOSITORY=ghcr.io/jhu-sheridan-libraries/idc-isle-dc
# The version of the isle-buildkit images, non isle-buildkit images have
# their versions specified explicitly in their respective docker-compose files.
TAG=upstream-20200824-f8d1e8e-83-g8c8a6b4
# Docker image and tag for snapshot image
SNAPSHOT_TAG=upstream-20201007-739693ae-405-g521b43f.1630614319
# Below is the clean snapshot that does not contain user content.
# It only has the system terms located in the three system
# taxonomies: Islandora Models, Islandora Display and Islandora Media Use.
#SNAPSHOT_TAG=v0.1.0-empty
# IdP, SP entity URIs and base URLs
SP_BASEURL=https://islandora-idc.traefik.me
SP_ENTITYID=https://islandora-idc.traefik.me/sp/shibboleth
IDP_BASEURL=https://islandora-idp.traefik.me:4443
IDP_ENTITYID=https://islandora-idp.traefik.me/idp/shibboleth
# Default admin account for development environments
DRUPAL_DEFAULT_ACCOUNT_NAME=admin
# Default admin password for development environments
DRUPAL_DEFAULT_ACCOUNT_PASSWORD=password
# DB params
DRUPAL_DEFAULT_DB_PASSWORD=password
# S3 via minio
DRUPAL_DEFAULT_S3_ACCESS_KEY=moo
DRUPAL_DEFAULT_S3_SECRET_KEY=moomoomoo
DRUPAL_DEFAULT_S3_BUCKET=idc
DRUPAL_DEFAULT_S3_HOSTNAME=minio-idc.traefik.me:9000
DRUPAL_DEFAULT_S3_USE_CNAME=false
DRUPAL_DEFAULT_S3_USE_CUSTOMHOST=true
DRUPAL_DEFAULT_S3_USE_PATH_STYLE_ENDPOINT=true
DRUPAL_DEFAULT_S3_PRIVATE_PATH=pr
# Drupal's Trusted Host List - This should be a comma separated list of strings, if you require more than one.
# (If you put DRUPAL prefix on it, things will start to fail as the drupal container will put any DRUPAL_* env vars
# into the fastcgi params file and the container will no longer start with this one there (the $ is probably the issue).
# https://github.com/jhu-idc/idc-isle-buildkit/blob/main/drupal/rootfs/etc/cont-init.d/97-setup-drupal-environment-variables.sh)
#TRUSTED_HOST_LIST=^.+\.traefik\.me$
TRUSTED_HOST_LIST=^.+\.traefik\.me$$,^.+\.library\.jhu\.edu$$
# Google Tag Manager
DRUPAL_GTM_CONTAINER_ID=
# PHP variables
PHP_DEFAULT_SOCKET_TIMEOUT=3600
PHP_MAX_EXECUTION_TIME=3600
PHP_MAX_FILE_UPLOADS=20
PHP_MAX_INPUT_TIME=3600
PHP_MEMORY_LIMIT=256M
PHP_POST_MAX_SIZE=128M
PHP_PROCESS_CONTROL_TIMEOUT=3600
PHP_REQUEST_TERMINATE_TIMEOUT=3600
PHP_UPLOAD_MAX_FILESIZE=128M
# nginx variables
NGINX_CLIENT_BODY_TIMEOUT=3600
NGINX_FASTCGI_READ_TIMEOUT=3600
NGINX_FASTCGI_SEND_TIMEOUT=3600
NGINX_FASTCGI_CONNECT_TIMEOUT=3600
NGINX_KEEPALIVE_TIMEOUT=3600
NGINX_LINGERING_TIMEOUT=3600
NGINX_PROXY_READ_TIMEOUT=3600
NGINX_PROXY_SEND_TIMEOUT=3600
NGINX_PROXY_CONNECT_TIMEOUT=3600
NGINX_SEND_TIMEOUT=3600
# Alpaca timeouts
ALPACA_HTTP_CONNECTION_REQUEST_TIMEOUT_MS=7200000
ALPACA_HTTP_CONNECT_TIMEOUT_MS=7200000
ALPACA_HTTP_SOCKET_TIMEOUT_MS=7200000
# ActiveMQ
ACTIVEMQ_WEB_HOST=0.0.0.0
# Dead Letter Queue Service
ACTIVEMQ_PASSWORD=password
ACTIVEMQ_DLQ_NAME=ActiveMQ.DLQ
DLQ_HANDLER_CONFIG_LOCATION=./config.json
DLQ_CONNECT_TIMEOUT_SEC=120
# Testing
TESTCAFE_VERSION=1.17.1
TEST_OPERATION_TIMEOUT_MS=180000
MIGRATION_ASSETS_IMAGE_TAG=9519543.1637091427
ALPACA_HOMERUS_HTTP_SOCKET_TIMEOUT_MS=7200000
DRUPAL_JWT_EXPIRY_INTERVAL='+4 hour'
ACTIVEMQ_WEB_PORT=8161