-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
.env
250 lines (200 loc) Β· 8.9 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
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
##
# Project environment variables.
#
# This is a single location where defined variables control how the stack
# operates and should be the primary place for modifications. Avoid overriding
# values in scripts or configuration files to simplify future updates and
# centralize changes.
#
# Values must be scalar and cannot reference another variable.
# Do not enclose values in double quotes unless they include 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`.
#
# @see https://vortex.drevops.com/workflows/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 webroot directory with Drupal codebase.
VORTEX_WEBROOT=web
# The timezone for the containers.
VORTEX_TZ="Australia/Melbourne"
################################################################################
# DRUPAL #
################################################################################
# Drupal profile name (used only when installing from profile).
DRUPAL_PROFILE=standard
# Drupal theme name.
DRUPAL_THEME=your_site_theme
# Stage file proxy origin. Note that HTTP Auth provided by Shield will be
# automatically added to the origin URL.
DRUPAL_STAGE_FILE_PROXY_ORIGIN=https://www.your-site-url.example/
# Shield print message.
DRUPAL_SHIELD_PRINT="Restricted access."
#;< REDIS
# Enable Redis integration.
# See settings.redis.php for details.
DRUPAL_REDIS_ENABLED=0
#;> REDIS
#;< 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
#;> CLAMAV
################################################################################
# PROVISION #
################################################################################
# Variables in this section control how the site is provisioned.
# @see https://vortex.drevops.com/workflows/provision
# Set to 1 to install a site from profile instead of the database file dump.
VORTEX_PROVISION_USE_PROFILE=0
# Overwrite existing 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
# Skip database sanitization.
#
# Database sanitization is enabled by default in all non-production
# environments and is always skipped in the production environment.
VORTEX_PROVISION_SANITIZE_DB_SKIP=0
# Sanitization email pattern. Sanitization is enabled by default in all
# non-production environments.
# @see https://vortex.drevops.com/workflows/build#sanitization
VORTEX_PROVISION_SANITIZE_DB_EMAIL="user_%[email protected]"
# Put the site into a maintenance mode during site provisioning.
VORTEX_PROVISION_USE_MAINTENANCE_MODE=1
################################################################################
# DATABASE #
################################################################################
# Database service runs a single database within a container.
# See settings.php for database credentials defaults.
# Database can be imported from a file dump into an empty database started from
# the database default image or can exist in a pre-built container image.
# Defaults to importing from a file.
# @see https://vortex.drevops.com/workflows/database
# Database dump directory.
VORTEX_DB_DIR=./.data
# Database dump file name.
VORTEX_DB_FILE=db.sql
# Name of the pre-built container image.
# Uncomment to use an image with a DB data loaded into it.
# @see https://github.com/drevops/mariadb-drupal-data to seed your DB image.
# VORTEX_DB_IMAGE=your_org/your_site:latest
#;< !PROVISION_USE_PROFILE
# Database can be sourced from one of the following locations:
#
# - `curl` - directly from URL as a file using CURL.
# - `ftp` - directly from FTP as a file using CURL.
# - `acquia` - from the latest Acquia backup via Cloud API as a file.
# - `lagoon` - from Lagoon main environment as a file.
# - `container_registry` - from the container registry as a container image.
# - `none` - not downloaded, site is freshly installed for every build.
# Note that "container_registry" works only for database-in-image
# database storage (when $VORTEX_DB_IMAGE variable has a value).
VORTEX_DB_DOWNLOAD_SOURCE=curl
#;< VORTEX_DB_DOWNLOAD_SOURCE_CURL
# Database dump file sourced from CURL, with optional HTTP Basic Authentication
# credentials embedded into the value.
VORTEX_DB_DOWNLOAD_CURL_URL=
#;> VORTEX_DB_DOWNLOAD_SOURCE_CURL
# Environment to download the database from.
VORTEX_DB_DOWNLOAD_ENVIRONMENT=prod
#;> !PROVISION_USE_PROFILE
#;< FTP
# Database dump file sourced from FTP.
# Database dump FTP host.
VORTEX_DB_DOWNLOAD_FTP_HOST=
# Database dump FTP port.
VORTEX_DB_DOWNLOAD_FTP_PORT=21
# Database dump FTP file name.
VORTEX_DB_DOWNLOAD_FTP_FILE=db.sql
#;> FTP
#;< ACQUIA
# Acquia application name to download the database from.
VORTEX_ACQUIA_APP_NAME=
# Acquia database name to download the database from.
VORTEX_DB_DOWNLOAD_ACQUIA_DB_NAME=your_site
#;> ACQUIA
#;< LAGOON
# Lagoon project name. May be different from $VORTEX_PROJECT.
LAGOON_PROJECT=your_site
#;> LAGOON
#;< DEPLOYMENT
################################################################################
# DEPLOYMENT #
################################################################################
# Deployment occurs when tests pass in the CI environment.
# @see https://vortex.drevops.com/workflows/deployment
# The type of deployment.
#
# Combination of comma-separated values to support multiple deployment targets:
# `artifact`,`container_registry`, `webhook`, `lagoon`.
#
# See https://vortex.drevops.com/workflows/deploy
VORTEX_DEPLOY_TYPES=artifact
#;< LAGOON
# Dedicated branch to identify the production environment.
VORTEX_LAGOON_PRODUCTION_BRANCH=main
#;> LAGOON
#;> DEPLOYMENT
#;< NOTIFICATIONS
################################################################################
# NOTIFICATIONS #
################################################################################
# Notificaions are sent accross multiple channels before and after deployment.
# @see https://vortex.drevops.com/workflows/notifications
# The channels of the notifications.
#
# Can be a combination of comma-separated values: email,newrelic,github,jira
VORTEX_NOTIFY_CHANNELS=email
# Email to send notifications from.
VORTEX_NOTIFY_EMAIL_FROM="[email protected]"
# Email address(es) to send notifications to.
#
# Multiple names can be specified as a comma-separated list of email addresses
# with optional names in the format "email|name".
# Example: "[email protected]|Jane Doe, [email protected]|John Doe"
VORTEX_NOTIFY_EMAIL_RECIPIENTS="[email protected]"
#;> NOTIFICATIONS
#;< DEMO
################################################################################
# DEMO #
################################################################################
#-------------------------------------------------------------------------------
# Variables used to override project-specific values for demonstration purposes.
#
# This is to allow to demonstrate how Vortex works without asking users
# to perform any additional steps when trying out Vortex for the first time.
#
# Remove this section from your project when database download integration setup
# is finished.
#-------------------------------------------------------------------------------
#;< VORTEX_DB_DOWNLOAD_SOURCE_CURL
# URL of the demo database used for demonstration with CURL database
# dump as a type of file source.
VORTEX_DB_DOWNLOAD_CURL_URL=https://github.com/drevops/vortex/releases/download/24.11.0/db_d11.demo.sql
#;> VORTEX_DB_DOWNLOAD_SOURCE_CURL
#;< VORTEX_DB_IMAGE
# The name of the demo database image used for demonstration only for
# 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:latest
#;> VORTEX_DB_IMAGE
#;> DEMO