-
-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy path.env
More file actions
403 lines (326 loc) Β· 13.7 KB
/
Copy path.env
File metadata and controls
403 lines (326 loc) Β· 13.7 KB
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
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
##
# Project environment variables.
#
# This is a single location where variables control how the project stack
# operates. It should be the primary place for modifications. Avoid overriding
# values in scripts or configuration files to simplify future updates and
# centralize changes.
#
# A value must be scalar and cannot reference another variable.
# Do not enclose a value in double quotes unless it includes spaces.
#
# To apply any changes made to this file, run `docker-compose up cli -d` or
# `ahoy up cli`.
#
# To customize variables locally, copy `.env.local.example` to `.env.local`,
# and add your custom values there.
#
# @see https://www.vortextemplate.com/docs/development/variables
################################################################################
# GENERAL #
################################################################################
# Project name.
#
# Drives internal naming within the codebase.
# Does not affect the names of containers and development URL - those depend on
# the project directory and can be overridden with $COMPOSE_PROJECT_NAME.
VORTEX_PROJECT=your_site
# Name of the web root directory containing a Drupal codebase.
WEBROOT=web
# The timezone used within the containers.
TZ=UTC
################################################################################
# DRUPAL #
################################################################################
# Drupal profile name.
DRUPAL_PROFILE=standard
# Drupal configuration directory.
#
# Path from the web root directory to the configuration directory.
# If not set, the default location is inside a randomly-named directory in the
# public files path.
DRUPAL_CONFIG_PATH=../config/default
# Trusted host patterns.
#
# Comma-separated list of domains for trusted host patterns. These domains will
# be added to the trusted host patterns alongside any other routes defined by
# the hosting provider.
DRUPAL_TRUSTED_HOSTS=your-site-domain.example,www.your-site-domain.example
# Drupal theme name.
DRUPAL_THEME=your_site_theme
# Drupal maintenance theme name.
DRUPAL_MAINTENANCE_THEME=your_site_theme
#;< DRUPAL_THEME
# Skip building of the front-end assets inside the container image.
#
# Set to 1 to build theme assets on the host or as part of deployment instead
# of during the container image build.
VORTEX_FRONTEND_BUILD_SKIP=0
#;> DRUPAL_THEME
#;< MODULE_STAGE_FILE_PROXY
# Stage file proxy origin.
#;< MODULE_SHIELD
#
# If using Shield, the HTTP authentication credentials will be automatically
# added to the origin URL.
#;> MODULE_SHIELD
DRUPAL_STAGE_FILE_PROXY_ORIGIN=https://www.your-site-domain.example
#;> MODULE_STAGE_FILE_PROXY
#;< MODULE_SHIELD
# Shield message.
DRUPAL_SHIELD_PRINT="Restricted access."
#;> MODULE_SHIELD
#;< SERVICE_REDIS
# Enable Redis integration.
# See settings.redis.php for details.
DRUPAL_REDIS_ENABLED=1
#;> SERVICE_REDIS
#;< SERVICE_CLAMAV
# Enable ClamAV integration.
DRUPAL_CLAMAV_ENABLED=1
# ClamAV mode.
#
# Run ClamAV in either daemon mode by setting it to 0 (or 'daemon') or in
# executable mode by setting it to 1.
DRUPAL_CLAMAV_MODE=daemon
#;> SERVICE_CLAMAV
################################################################################
# PROVISION #
################################################################################
# By "provision", we mean the process of initializing the database (from dump
# or fresh install from profile), running updates, applying configuration
# changes, clearing caches and performing other tasks that prepare the site for
# use.
# @see https://www.vortextemplate.com/docs/development/provision
# Set to 'profile' to install a site from profile instead of the database dump.
VORTEX_PROVISION_TYPE=database
# Overwrite a database if it exists.
#
# Usually set to 0 in deployed environments and can be temporary set to 1 for
# a specific deployment.
# Set this to 1 in .env.local to override when developing locally.
VORTEX_PROVISION_OVERRIDE_DB=0
# Fallback to profile installation if the database dump is not available.
#
# When enabled and the provision type is set to "database", the site will be
# installed from the profile if the database dump file or container image
# is not available.
VORTEX_PROVISION_FALLBACK_TO_PROFILE=0
# Verify that configuration was not changed by database updates.
# If enabled and config files are present, the provision will fail if
# database update hooks modify active configuration, preventing
# drush config:import from silently overwriting those changes.
VORTEX_PROVISION_VERIFY_CONFIG_UNCHANGED_AFTER_UPDATE=0
# Skip database sanitization.
#
# Database sanitization is enabled by default in all non-production
# environments and is always skipped in the production environment.
# @see https://www.vortextemplate.com/docs/development/provision#database-sanitization
VORTEX_PROVISION_SANITIZE_DB_SKIP=0
# Sanitization email pattern.
#
# Applied if database sanitization is enabled.
# @see https://www.vortextemplate.com/docs/development/provision#database-sanitization
VORTEX_PROVISION_SANITIZE_DB_EMAIL=user_%uid@your-site-domain.example
# Put the site into a maintenance mode during site provisioning.
VORTEX_PROVISION_USE_MAINTENANCE_MODE=1
#;< HOSTING
################################################################################
# HOSTING #
################################################################################
#;< HOSTING_LAGOON
# Lagoon project name. May be different from $VORTEX_PROJECT.
#
# Update drush/sites/lagoon.site.yml if you update this value.
LAGOON_PROJECT=your_site
# Dedicated branch to identify the production environment.
VORTEX_LAGOON_PRODUCTION_BRANCH=main
#;> HOSTING_LAGOON
#;< HOSTING_ACQUIA
# Acquia application name.
VORTEX_ACQUIA_APP_NAME=
#;> HOSTING_ACQUIA
#;> HOSTING
################################################################################
# DATABASE SOURCE #
################################################################################
# Database service runs a single database within a container.
# See settings.php for database credentials or run `ahoy drush sql:connect`.
# Database can be imported from a *file dump* into an empty database started
# from the database default container image or can *exist* in a pre-built
# container image.
# Defaults to importing from a file.
# Database dump directory.
#
# The directory is used to store the database dump files for import and export.
VORTEX_DB_DIR=./.data
# Database dump file name.
#
# The file is used to import the database into an empty database container.
VORTEX_DB_FILE=db.sql
#;< !PROVISION_TYPE_PROFILE
# Database fetch source.
VORTEX_FETCH_DB_SOURCE=url
#;< DB_FETCH_SOURCE_CONTAINER_REGISTRY
# Name of the pre-built database container image.
# @see https://github.com/drevops/mariadb-drupal-data to seed your DB image.
# VORTEX_DB_IMAGE=your_org/your_site:latest
#;> DB_FETCH_SOURCE_CONTAINER_REGISTRY
#;< DB_FETCH_SOURCE_URL
# Database dump file sourced from a URL.
#
# HTTP Basic Authentication credentials should be embedded into the value.
VORTEX_FETCH_DB_URL=
#;> DB_FETCH_SOURCE_URL
#;< DB_FETCH_SOURCE_FTP
# Database dump file sourced from FTP.
# Database dump FTP host.
VORTEX_FETCH_DB_FTP_HOST=
# Database dump FTP port.
VORTEX_FETCH_DB_FTP_PORT=21
# Database dump FTP file name.
VORTEX_FETCH_DB_FTP_FILE=db.sql
#;> DB_FETCH_SOURCE_FTP
#;< DB_FETCH_SOURCE_S3
# Database dump file sourced from S3.
# AWS S3 bucket name for database fetch.
VORTEX_FETCH_DB_S3_BUCKET=
# AWS S3 region.
VORTEX_FETCH_DB_S3_REGION=ap-southeast-2
#;> DB_FETCH_SOURCE_S3
# Environment to fetch the database from.
#
# Applies to hosting environments.
# Note that depending on the hosting provider, this variable may represent
# a branch name or an environment name.
VORTEX_FETCH_DB_ENVIRONMENT=prod
#;< HOSTING_ACQUIA
# Acquia database name to fetch the database from.
VORTEX_FETCH_DB_ACQUIA_DB_NAME=your_site
#;> HOSTING_ACQUIA
#;> !PROVISION_TYPE_PROFILE
#;< MIGRATION
################################################################################
# SECOND DATABASE (MIGRATION) #
################################################################################
# Second database for migrations.
# See settings.migration.php for database credentials.
# Second database dump file name.
VORTEX_FETCH_DB2_FILE=db2.sql
# Second database fetch source.
VORTEX_FETCH_DB2_SOURCE=url
#;< MIGRATION_DB_FETCH_SOURCE_CONTAINER_REGISTRY
# Name of the pre-built migration database container image.
# @see https://github.com/drevops/mariadb-drupal-data to seed your DB image.
# VORTEX_DB2_IMAGE=your_org/your_site-migration:latest
#;> MIGRATION_DB_FETCH_SOURCE_CONTAINER_REGISTRY
#;< MIGRATION_DB_FETCH_SOURCE_URL
# Second database dump file sourced from a URL.
#
# HTTP Basic Authentication credentials should be embedded into the value.
VORTEX_FETCH_DB2_URL=
#;> MIGRATION_DB_FETCH_SOURCE_URL
#;< MIGRATION_DB_FETCH_SOURCE_FTP
# Second database dump file sourced from FTP.
# Second database dump FTP host.
VORTEX_FETCH_DB2_FTP_HOST=
# Second database dump FTP port.
VORTEX_FETCH_DB2_FTP_PORT=21
# Second database dump FTP file name.
VORTEX_FETCH_DB2_FTP_FILE=db2.sql
#;> MIGRATION_DB_FETCH_SOURCE_FTP
#;< MIGRATION_DB_FETCH_SOURCE_S3
# Second database dump file sourced from S3.
# AWS S3 bucket name for second database fetch.
VORTEX_FETCH_DB2_S3_BUCKET=
# AWS S3 region.
VORTEX_FETCH_DB2_S3_REGION=ap-southeast-2
#;> MIGRATION_DB_FETCH_SOURCE_S3
# Environment to fetch the second database from.
#
# Applies to hosting environments.
VORTEX_FETCH_DB2_ENVIRONMENT=prod
#;< HOSTING_ACQUIA
# Acquia database name to fetch the second database from.
VORTEX_FETCH_DB2_ACQUIA_DB_NAME=your_site
#;> HOSTING_ACQUIA
#;> MIGRATION
################################################################################
# RELEASE VERSIONING #
################################################################################
# Versioning scheme used for releases.
#
# Can be one of: calver, semver, other
# @see https://www.vortextemplate.com/docs/releasing
VORTEX_RELEASE_VERSION_SCHEME=calver
#;< DEPLOYMENT
################################################################################
# DEPLOYMENT #
################################################################################
# Deployment occurs when tests pass in the CI environment.
# @see https://www.vortextemplate.com/docs/deployment
VORTEX_DEPLOY_TYPES=artifact
#;> DEPLOYMENT
#;< NOTIFICATIONS
################################################################################
# NOTIFICATIONS #
################################################################################
# Notificaions are sent accross multiple channels before and after deployment.
# @see https://www.vortextemplate.com/docs/deployment/notifications
# The channels of the notifications.
#
# A combination of comma-separated values: email,slack,newrelic,github,jira,webhook,diffy
VORTEX_NOTIFY_CHANNELS=email
#;< NOTIFICATIONS_EMAIL
# An email address to send notifications from.
#
# Applies to email notifications.
VORTEX_NOTIFY_EMAIL_FROM=webmaster@your-site-domain.example
# Email address(es) to send notifications to.
#
# Applies to email notifications.
#
# Multiple names can be specified as a comma-separated list of email addresses
# with optional names in the format "email|name".
# Example: "to1@example.com|Jane Doe, to2@example.com|John Doe"
VORTEX_NOTIFY_EMAIL_RECIPIENTS="webmaster@your-site-domain.example|Webmaster"
#;> NOTIFICATIONS_EMAIL
#;< NOTIFICATIONS_JIRA
# JIRA user email address.
VORTEX_NOTIFY_JIRA_USER_EMAIL=user@example.com
#;> NOTIFICATIONS_JIRA
#;< NOTIFICATIONS_WEBHOOK
# Webhook URL to send notifications to.
VORTEX_NOTIFY_WEBHOOK_URL=
#;> NOTIFICATIONS_WEBHOOK
#;> NOTIFICATIONS
#;< DEMO_MODE
################################################################################
# DEMO #
################################################################################
# #
# Override project-specific values for demonstration purposes. #
# Used to showcase Vortex without asking users to perform additional steps. #
# #
# Remove this section after completing database fetch integration. #
# #
################################################################################
#;< DB_FETCH_SOURCE_URL
# URL of the database used for demonstration with URL database fetch type.
VORTEX_FETCH_DB_URL=https://github.com/drevops/vortex/releases/download/1.40.0/db.demo.sql
#;> DB_FETCH_SOURCE_URL
#;< MIGRATION
#;< MIGRATION_DB_FETCH_SOURCE_URL
# URL of the migration source database used for demonstration.
VORTEX_FETCH_DB2_URL=https://github.com/drevops/vortex/releases/download/25.4.0/db_d11.demo_source.sql
#;> MIGRATION_DB_FETCH_SOURCE_URL
#;> MIGRATION
#;< DB_FETCH_SOURCE_CONTAINER_REGISTRY
# Demo database container image used for demonstration of database-in-image
# data storage.
# The line below will be automatically uncommented for database-in-image
# storage. It is commented out to allow running non-database-in-image
# workflow by default.
##### VORTEX_DB_IMAGE=drevops/vortex-dev-mariadb-drupal-data-demo-11.x:1.40.0
#;> DB_FETCH_SOURCE_CONTAINER_REGISTRY
#;> DEMO_MODE