-
Notifications
You must be signed in to change notification settings - Fork 61
/
sample.env
204 lines (163 loc) · 6.86 KB
/
sample.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
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
# 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.
# See documentation for more details.
ENVIRONMENT=starter
# Enable this to generate a docker-compose file that uses secrets.
# If you're running staging, CI, or production, set to true.
USE_SECRETS=true
###############################################################################
# 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=isle-dc
# 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
# Custom namespace for your created Drupal images (eg. your dockerhub username)
# preface this with a URL to use a container registry like Github or Gitlab
# Used in the image name when running `make build` and `make push-image`
CUSTOM_IMAGE_NAMESPACE=mynamespace
# Image name of custom drupal image
# This is used when pulling a custom image for environments set to custom and
# when building a custom image with make build
CUSTOM_IMAGE_NAME=${COMPOSE_PROJECT_NAME}_drupal
# Tag for custom image
# This is used when pulling a custom image for environments set to custom and
# when building a custom image with make build
CUSTOM_IMAGE_TAG=latest
# Packagist repo to use when creating a site with make starter
# Change this if you want to build from a different codebase than the starter site
CODEBASE_PACKAGE=islandora/islandora-starter-site:dev-main
# Includes `traefik` as a service, if false assume we are sharing a traefik
# from another project.
INCLUDE_TRAEFIK_SERVICE=true
TRAEFIK_LOG_LEVEL=ERROR
# Should we use ACME to generate a SSL Certificate
USE_ACME=false
# Specify email to tie SSL Certificate to with ACME provider
ACME_EMAIL=your-email@example.com
# KeyType used for generating certificate private key. Allow value 'EC256', 'EC384', 'RSA2048', 'RSA4096', 'RSA8192'.
ACME_KEY_TYPE=RSA4096
# ACME Defaults for Let's Encrypt Service
# ACME_SERVER=https://acme-v02.api.letsencrypt.org/directory
# Default duration for the certificate is 90 days or 2,160 hours for Let's Encrypt
# ACME_CERT_DURATION=2160
# ACME_EAB_KID=
# ACME_EAB_HMAC=
# Includes `watchtower` as a service.
INCLUDE_WATCHTOWER_SERVICE=false
# Includes `etcd` as a service.
INCLUDE_ETCD_SERVICE=false
# Includes `code-server` as a service.
INCLUDE_CODE_SERVER_SERVICE=false
# Choose which database backend to use: mariadb/postgresql
# Services that only support MySQL 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
# 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=islandora
# The version of the isle-buildkit images, non isle-buildkit images have
# their versions specified explicitly in their respective docker-compose files.
TAG=main
PHP_MAJOR_VERSION=8
PHP_MINOR_VERSION=3
###############################################################################
# Exposed Containers & Ports
###############################################################################
# Expose Cantaloupe at ${DOMAIN}/cantaloupe
EXPOSE_CANTALOUPE=true
# Expose Drupal at ${DOMAIN}
EXPOSE_DRUPAL=true
# Expose MySQL over the given port - DO NOT EXPOSE THIS IN PRODUCTION
EXPOSE_MYSQL=false
MYSQL_PORT=3306
# Expose Postgres over the given port - DO NOT EXPOSE THIS IN PRODUCTION
EXPOSE_POSTGRES=false
POSTGRES_PORT=5432
# Expose the Traefik dashboard over the given port - DO NOT EXPOSE THIS IN PRODUCTION
EXPOSE_TRAEFIK_DASHBOARD=false
TRAEFIK_DASHBOARD_PORT=8080
# Expose Fedora over the given port - Necessary for Canteloupe
EXPOSE_FEDORA=true
FEDORA_PORT=8081
# Expose Blazegraph over the given port - DO NOT EXPOSE THIS IN PRODUCTION
EXPOSE_BLAZEGRAPH=false
BLAZEGRAPH_PORT=8082
# Expose Activemq over the given port - DO NOT EXPOSE THIS IN PRODUCTION
EXPOSE_ACTIVEMQ=false
ACTIVEMQ_PORT=8161
# Expose SOLR over the given port - DO NOT EXPOSE THIS IN PRODUCTION
EXPOSE_SOLR=false
SOLR_PORT=8983
# Expose Code Server over the given port - DO NOT EXPOSE THIS IN PRODUCTION
EXPOSE_CODE_SERVER=false
CODE_SERVER_PORT=8443
###############################################################################
# Global Environment variables
###############################################################################
DOMAIN=islandora.traefik.me
SITE=https://${DOMAIN}
DISABLE_SYN=false
FEDORA_6=true
RESTART_POLICY=unless-stopped
# PHP variables
PHP_MEMORY_LIMIT=256M
PHP_POST_MAX_SIZE=128M
PHP_UPLOAD_MAX_FILESIZE=128M
PHP_MAX_EXECUTION_TIME=300
# If you're just demoing or are starting from scratch, use this.
INSTALL_EXISTING_CONFIG=false
DRUPAL_INSTALL_PROFILE=standard
# If you're installing from an existing codebase, uncomment this
#INSTALL_EXISTING_CONFIG=true
#DRUPAL_INSTALL_PROFILE=minimal
# If you're experiencing timeouts in Alpaca, consider bumping these
# values for each connector. They are in milliseconds (1000 = 1 second).
ALPACA_OCR_TIMEOUT=300000
ALPACA_FITS_TIMEOUT=300000
ALPACA_HOUDINI_TIMEOUT=300000
ALPACA_HOMARUS_TIMEOUT=300000
# Set Memory Limit for each container.
ACTIVEMQ_MEMORY_LIMIT=2G
ALPACA_MEMORY_LIMIT=2G
BLAZEGRAPH_MEMORY_LIMIT=5G
CANTALOUPE_MEMORY_LIMIT=5G
CRAYFITS_MEMORY_LIMIT=1G
DRUPAL_MEMORY_LIMIT=5G
FCREPO_MEMORY_LIMIT=5G
FITS_MEMORY_LIMIT=5G
HOMARUS_MEMORY_LIMIT=1G
HOUDINI_MEMORY_LIMIT=1G
HYPERCUBE_MEMORY_LIMIT=512M
IDE_MEMORY_LIMIT=5G
MARIADB_MEMORY_LIMIT=1G
MILLINER_MEMORY_LIMIT=1G
RECAST_MEMORY_LIMIT=1G
SOLR_MEMORY_LIMIT=8G
TRAEFIK_MEMORY_LIMIT=8G
WATCHTOWER_MEMORY_LIMIT=2G
# Configuration to enable the custom delegate script for Cantaloupe
CANTALOUPE_DELEGATE_SCRIPT_ENABLED=false
CANTALOUPE_DELEGATE_SCRIPT_PATHNAME=/opt/tomcat/bin/delegates.rb
CANTALOUPE_HTTPSOURCE_LOOKUP_STRATEGY=BasicLookupStrategy
# Path to include in tar file for exported public files
# If set to . the files will be exported wherever you specify as DEST
# when running make drupal-public-files-import
# If set to anything else, that path will be added to DEST
PUBLIC_FILES_TAR_DUMP_PATH=.