Variables
Vortex uses environment variables to configure workflows without code changes.
There are two main types of variables:
Project Configuration Variables are set once during project setup and
remain constant throughout the project lifecycle. These are typically
configured in the .env
file, or within the CI or hosting provider
environments.
Workflow Control Variables can be changed during the project lifecycle to alter workflow behavior. For example, changing how deployment behaves or skipping a certain code branch deployment within CI.
Override order (bottom values win)
- default value in container taken from image
- default value in
docker-compose.yml
- value in
.env
(last value wins) - value in
.env.local
(last value wins) - value from environment
Variables list
AHOY_CONFIRM_RESPONSE
Set to y
to suppress Ahoy prompts.
Default value: UNDEFINED
Defined in: .env.local.example
AHOY_CONFIRM_WAIT_SKIP
When Ahoy prompts are suppressed ($AHOY_CONFIRM_RESPONSE
is 1
), the command
will wait for 3
seconds before proceeding.
Set this variable to "1
" to skip the wait.
Default value: 1
Defined in: .env.local.example
COMPOSE_PROJECT_NAME
Docker Compose project name.
Sets the project name for a Docker Compose project. Influences container and
network names.
Defaults to the name of the project directory.
Default value: UNDEFINED
Defined in: ENVIRONMENT
DATABASE_CHARSET
Local database charset.
Variable is not used in hosting environment.
Default value: utf8mb4
Defined in: docker-compose.yml
DATABASE_COLLATION
Local database collation.
Variable is not used in hosting environment.
Default value: utf8mb4_general_ci
Defined in: docker-compose.yml
DATABASE_DATABASE
Database name.
Default value: UNDEFINED
Defined in: LAGOON ENVIRONMENT
DATABASE_HOST
Local database host.
Variable is not used in hosting environment.
Default value: database
Defined in: docker-compose.yml
, scripts/vortex/info.sh
DATABASE_NAME
Local database name.
Variable is not used in hosting environment.
Default value: drupal
Defined in: docker-compose.yml
DATABASE_PASSWORD
Local database password.
Variable is not used in hosting environment.
Default value: drupal
Defined in: docker-compose.yml
, scripts/vortex/info.sh
DATABASE_PORT
Local database port.
Variable is not used in hosting environment.
Default value: 3306
Defined in: docker-compose.yml
, scripts/vortex/info.sh
DATABASE_USERNAME
Local database user.
Variable is not used in hosting environment.
Default value: drupal
Defined in: docker-compose.yml
, scripts/vortex/info.sh
DOCKER_CONFIG
Path to Docker configuration directory.
Default value: ${HOME}/.docker
Defined in: scripts/vortex/login-container-registry.sh
DRUPAL_ADMIN_EMAIL
Drupal admin email. May need to be reset if database was sanitized.
Default value: UNDEFINED
Defined in: .env
DRUPAL_CLAMAV_ENABLED
Enable ClamAV integration.
Default value: 1
Defined in: .env
DRUPAL_CLAMAV_MODE
ClamAV mode.
Run ClamAV in either daemon mode by setting it to 0
(or 'daemon') or in
executable mode by setting it to 1
.
Default value: daemon
Defined in: .env
DRUPAL_CONFIG_PATH
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.
Default value: ../config/default
Defined in: .env
DRUPAL_ENVIRONMENT
Override detected Drupal environment type.
Used in the application to override the automatically detected environment type.
Default value: UNDEFINED
Defined in: ENVIRONMENT
DRUPAL_MAINTENANCE_THEME
Drupal maintenance theme name.
Default value: your_site_theme
Defined in: .env
DRUPAL_PRIVATE_FILES
Path to private files.
Default value: ${DRUPAL_PUBLIC_FILES}/private
Defined in: docker-compose.yml
DRUPAL_PROFILE
Drupal profile name.
Default value: standard
Defined in: .env
, scripts/vortex/provision.sh
DRUPAL_PUBLIC_FILES
Path to public files.
Default value: ./${WEBROOT}/sites/default/files
Defined in: docker-compose.yml
DRUPAL_REDIS_ENABLED
Enable Redis/Valkey integration.
See settings.redis.php for details.
Default value: 1
Defined in: .env
DRUPAL_SHIELD_PRINT
Shield message.
Default value: Restricted access.
Defined in: .env
DRUPAL_SITE_EMAIL
Drupal site email.
Used only when installing from profile.
Default value: webmaster@your-site-domain.example
Defined in: .env
, scripts/vortex/provision.sh
DRUPAL_SITE_NAME
Drupal site name.
Used only when installing from profile.
Default value: ${VORTEX_PROJECT}
Defined in: .env
, scripts/vortex/provision.sh
DRUPAL_STAGE_FILE_PROXY_ORIGIN
Stage file proxy origin.
If using Shield, the HTTP authentication credentials will be automatically
added to the origin URL.
Default value: https://www.your-site-domain.example
Defined in: .env
DRUPAL_TEMPORARY_FILES
Path to temporary files.
Default value: ${DRUPAL_PRIVATE_FILES}/tmp
Defined in: docker-compose.yml