Skip to main content

Variables

Environment variables allow to configure workflows.

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

DRUPAL_ADMIN_EMAIL

Drupal admin email. May need to be reset if database was sanitized.

Default value: webmaster@your-site-url.example

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

Path to configuration directory relative to the project root.
Auto-discovered from site's settings.php file if not set.

Default value: UNDEFINED

Defined in: scripts/vortex/provision.sh

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_PRIVATE_FILES

Path to private files.

Default value: ${DRUPAL_PUBLIC_FILES}/private

Defined in: .env

DRUPAL_PROFILE

Drupal profile name (used only when installing from profile).

Default value: standard

Defined in: .env, scripts/vortex/provision.sh

DRUPAL_PUBLIC_FILES

Path to public files.

Default value: ./${VORTEX_WEBROOT}/sites/default/files

Defined in: .env

DRUPAL_REDIS_ENABLED

Enable Redis integration.
See settings.redis.php for details.

Default value: UNDEFINED

Defined in: .env

DRUPAL_SHIELD_PRINT

Shield print 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-url.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. Note that HTTP Auth provided by Shield will be
automatically added to the origin URL.

Default value: https://www.your-site-url.example/

Defined in: .env

DRUPAL_TEMPORARY_FILES

Path to temporary files.

Default value: ${DRUPAL_PRIVATE_FILES}/tmp

Defined in: .env

DRUPAL_THEME

Drupal theme name.

Default value: your_site_theme

Defined in: .env

DRUPAL_UNBLOCK_ADMIN

Unblock admin account when logging in.

Default value: 1

Defined in: .env, scripts/vortex/login.sh, scripts/vortex/logout.sh

GITHUB_TOKEN

GitHub token used to overcome API rate limits or access private repositories.
@see https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token

Default value: UNDEFINED

Defined in: .env.local.example, scripts/vortex/github-labels.sh

LAGOON_PROJECT

Lagoon project name. May be different from $VORTEX_PROJECT.

Default value: your_site

Defined in: .env, scripts/vortex/deploy-lagoon.sh, scripts/vortex/download-db-lagoon.sh

NEWRELIC_ENABLED

Enable New Relic in Lagoon environment.

Set as project-wide variable.

Default value: UNDEFINED

Defined in: LAGOON ENVIRONMENT

NEWRELIC_LICENSE

New Relic license.

Set as project-wide variable.

Default value: UNDEFINED

Defined in: LAGOON ENVIRONMENT

RENOVATE_DEPENDENCY_DASHBOARD

Whether to enable self-hosted Renovate bot dashboard.

Default value: false

Defined in: CI config

RENOVATE_DRY_RUN

Whether to allow self-hosted Renovate bot make changes to the repository.

Default value: false

Defined in: CI config

RENOVATE_GIT_AUTHOR

Commit author for self-hosted Renovate bot.

Default value: 'Renovate Self Hosted <renovatebot@your-site-url.example>'

Defined in: CI config

RENOVATE_TOKEN

Self-hosted Renovate bot token.
Create a GitHub token with a permission to write to a repository.

Default value: UNDEFINED

Defined in: CI config

TARGET_ENV_REMAP

Special variable to remap target env to the sub-domain prefix based on UI name.

Default value: ${target_env}

Defined in: scripts/vortex/task-purge-cache-acquia.sh

VORTEX_ACQUIA_APP_NAME

Acquia application name to download the database from.

Default value: UNDEFINED

Defined in: .env, scripts/vortex/download-db-acquia.sh, scripts/vortex/task-copy-db-acquia.sh, scripts/vortex/task-copy-files-acquia.sh, scripts/vortex/task-purge-cache-acquia.sh

VORTEX_ACQUIA_KEY

Acquia Cloud API key.

Default value: UNDEFINED

Defined in: .env.local.example, scripts/vortex/download-db-acquia.sh, scripts/vortex/task-copy-db-acquia.sh, scripts/vortex/task-copy-files-acquia.sh, scripts/vortex/task-purge-cache-acquia.sh

VORTEX_ACQUIA_SECRET

Acquia Cloud API secret.

Default value: UNDEFINED

Defined in: .env.local.example, scripts/vortex/download-db-acquia.sh, scripts/vortex/task-copy-db-acquia.sh, scripts/vortex/task-copy-files-acquia.sh, scripts/vortex/task-purge-cache-acquia.sh

VORTEX_CI_ARTIFACTS

Directory to store test artifacts in CI.

Default value: /tmp/artifacts

Defined in: CI config

VORTEX_CI_BEHAT_IGNORE_FAILURE

Ignore Behat test failures.

Default value: UNDEFINED

Defined in: CI config

VORTEX_CI_BEHAT_PROFILE

Test Behat profile to use in CI. If not set, the default profile will be used.

Default value: UNDEFINED

Defined in: CI config

VORTEX_CI_COMPOSER_NORMALIZE_IGNORE_FAILURE

Ignore composer normalize failures.

Default value: UNDEFINED

Defined in: CI config

VORTEX_CI_COMPOSER_VALIDATE_IGNORE_FAILURE

Ignore composer validate failures.

Default value: UNDEFINED

Defined in: CI config

VORTEX_CI_GHERKIN_LINT_IGNORE_FAILURE

Ignore Gherkin Lint failures.

Default value: UNDEFINED

Defined in: CI config

VORTEX_CI_HADOLINT_IGNORE_FAILURE

Ignore Hadolint failures.

Default value: UNDEFINED

Defined in: CI config

VORTEX_CI_NPM_LINT_IGNORE_FAILURE

Ignore NPM linters failures.

Default value: UNDEFINED

Defined in: CI config

VORTEX_CI_PHPCS_IGNORE_FAILURE

Ignore PHPCS failures.

Default value: UNDEFINED

Defined in: CI config

VORTEX_CI_PHPMD_IGNORE_FAILURE

Ignore PHPMD failures.

Default value: UNDEFINED

Defined in: CI config

VORTEX_CI_PHPSTAN_IGNORE_FAILURE

Ignore PHPStan failures.

Default value: UNDEFINED

Defined in: CI config

VORTEX_CI_PHPUNIT_IGNORE_FAILURE

Ignore PHPUnit test failures.

Default value: UNDEFINED

Defined in: CI config

VORTEX_CI_RECTOR_IGNORE_FAILURE

Ignore Rector failures.

Default value: UNDEFINED

Defined in: CI config

VORTEX_CI_TEST_RESULTS

Directory to store test results in CI.

Default value: /tmp/tests

Defined in: CI config

VORTEX_CI_TWIG_CS_FIXER_IGNORE_FAILURE

Ignore Twig CS Fixer failures.

Default value: UNDEFINED

Defined in: CI config

VORTEX_COMPOSER_VERBOSE

Print output from Composer install.

Default value: 1

Defined in: .env

VORTEX_CONTAINER_REGISTRY

Container registry name.

Provide port, if required as <server_name>:<port>.

Default value: docker.io

Defined in: .env, scripts/vortex/login-container-registry.sh

VORTEX_CONTAINER_REGISTRY_PASS

The password (token) to log into the container registry.

Default value: ${DOCKER_PASS}

Defined in: .env.local.example, scripts/vortex/login-container-registry.sh

VORTEX_CONTAINER_REGISTRY_USER

The username to log into the container registry.

Default value: ${DOCKER_USER}

Defined in: .env.local.example, scripts/vortex/login-container-registry.sh

VORTEX_DB_DIR

Database dump directory.

Default value: ./.data

Defined in: .env, scripts/vortex/download-db-acquia.sh, scripts/vortex/download-db-container-registry.sh, scripts/vortex/download-db-curl.sh, scripts/vortex/download-db-ftp.sh, scripts/vortex/download-db-lagoon.sh, scripts/vortex/download-db.sh, scripts/vortex/provision.sh

VORTEX_DB_DOWNLOAD_ACQUIA_DB_NAME

Acquia database name to download the database from.

Default value: your_site

Defined in: .env, scripts/vortex/download-db-acquia.sh

VORTEX_DB_DOWNLOAD_CURL_URL

Database dump file sourced from CURL, with optional HTTP Basic Authentication
credentials embedded into the value.

Default value: UNDEFINED

Defined in: .env, scripts/vortex/download-db-curl.sh

VORTEX_DB_DOWNLOAD_ENVIRONMENT

Environment to download the database from.

Default value: prod

Defined in: .env, scripts/vortex/download-db-acquia.sh, scripts/vortex/download-db-lagoon.sh

VORTEX_DB_DOWNLOAD_FORCE

Always override existing downloaded DB dump.

Default value: 1

Defined in: .env.local.example, .env.local.example, scripts/vortex/download-db.sh

VORTEX_DB_DOWNLOAD_FTP_FILE

Database dump FTP file name.

Default value: db.sql

Defined in: .env, scripts/vortex/download-db-ftp.sh

VORTEX_DB_DOWNLOAD_FTP_HOST

Database dump FTP host.

Default value: UNDEFINED

Defined in: .env, scripts/vortex/download-db-ftp.sh

VORTEX_DB_DOWNLOAD_FTP_PASS

Database dump FTP password.

Default value: UNDEFINED

Defined in: .env.local.example, scripts/vortex/download-db-ftp.sh

VORTEX_DB_DOWNLOAD_FTP_PORT

Database dump FTP port.

Default value: 21

Defined in: .env, scripts/vortex/download-db-ftp.sh

VORTEX_DB_DOWNLOAD_FTP_USER

Database dump FTP user.

Default value: UNDEFINED

Defined in: .env.local.example, scripts/vortex/download-db-ftp.sh

VORTEX_DB_DOWNLOAD_LAGOON_REMOTE_DIR

Remote DB dump directory location.

Default value: /tmp

Defined in: scripts/vortex/download-db-lagoon.sh

VORTEX_DB_DOWNLOAD_LAGOON_REMOTE_FILE

Remote DB dump file name. Cached by the date suffix.

Default value: db_$(date +%Y%m%d).sql

Defined in: scripts/vortex/download-db-lagoon.sh

VORTEX_DB_DOWNLOAD_LAGOON_REMOTE_FILE_CLEANUP

Wildcard file name to cleanup previously created dump files.

Cleanup runs only if the variable is set and $VORTEX_DB_DOWNLOAD_LAGOON_REMOTE_FILE
does not exist.

Default value: db_*.sql

Defined in: scripts/vortex/download-db-lagoon.sh

VORTEX_DB_DOWNLOAD_LAGOON_SSH_HOST

The SSH host of the Lagoon environment.

Default value: ssh.lagoon.amazeeio.cloud

Defined in: scripts/vortex/download-db-lagoon.sh

VORTEX_DB_DOWNLOAD_LAGOON_SSH_PORT

The SSH port of the Lagoon environment.

Default value: 32222

Defined in: scripts/vortex/download-db-lagoon.sh

VORTEX_DB_DOWNLOAD_LAGOON_SSH_USER

The SSH user of the Lagoon environment.

Default value: ${LAGOON_PROJECT}-${VORTEX_DB_DOWNLOAD_ENVIRONMENT}

Defined in: scripts/vortex/download-db-lagoon.sh

VORTEX_DB_DOWNLOAD_PROCEED

Proceed with download.

Default value: 1

Defined in: scripts/vortex/download-db.sh

VORTEX_DB_DOWNLOAD_REFRESH

Flag to download a fresh copy of the database.

Default value: UNDEFINED

Defined in: scripts/vortex/download-db-lagoon.sh

VORTEX_DB_DOWNLOAD_SOURCE

Note that "container_registry" works only for database-in-image
database storage (when $VORTEX_DB_IMAGE variable has a value).

Default value: curl

Defined in: .env, scripts/vortex/download-db.sh

VORTEX_DB_DOWNLOAD_SSH_FILE

Default SSH file used if custom fingerprint is not provided.

Default value: ${HOME}/.ssh/id_rsa

Defined in: scripts/vortex/download-db-lagoon.sh

VORTEX_DB_DOWNLOAD_SSH_FINGERPRINT

SSH key fingerprint used to connect to a remote.

Default value: UNDEFINED

Defined in: scripts/vortex/download-db-lagoon.sh

VORTEX_DB_EXPORT_CONTAINER_REGISTRY

Container registry name.

Default value: docker.io

Defined in: scripts/vortex/export-db-image.sh

VORTEX_DB_EXPORT_FILE_DIR

Directory with database dump file.

Default value: ./.data

Defined in: scripts/vortex/export-db-file.sh

VORTEX_DB_EXPORT_IMAGE

Container image to store in a form of <org>/<repository>.

Default value: UNDEFINED

Defined in: scripts/vortex/export-db-image.sh, scripts/vortex/export-db.sh

VORTEX_DB_EXPORT_IMAGE_ARCHIVE_FILE

Container image archive file name.

Default value: UNDEFINED

Defined in: scripts/vortex/export-db-image.sh

VORTEX_DB_EXPORT_IMAGE_DIR

Directory with database image archive file.

Default value: ${VORTEX_DB_DIR}

Defined in: scripts/vortex/export-db-image.sh

VORTEX_DB_EXPORT_SERVICE_NAME

The service name to capture.

Default value: mariadb

Defined in: scripts/vortex/export-db-image.sh

VORTEX_DB_FILE

Database dump file name.

Default value: db.sql

Defined in: .env, scripts/vortex/download-db-acquia.sh, scripts/vortex/download-db-curl.sh, scripts/vortex/download-db-ftp.sh, scripts/vortex/download-db-lagoon.sh, scripts/vortex/provision.sh

VORTEX_DB_IMAGE

Name of the database container image to use.

See https://github.com/drevops/mariadb-drupal-data to seed your DB image.

Default value: UNDEFINED

Defined in: .env, scripts/vortex/download-db-container-registry.sh, scripts/vortex/export-db.sh, scripts/vortex/info.sh, scripts/vortex/provision.sh

VORTEX_DB_IMAGE_BASE

Name of the database fall-back container image to use.

If the image specified in $VORTEX_DB_IMAGE does not exist and base
image was provided - it will be used as a "clean slate" for the database.

Default value: UNDEFINED

Defined in: .env, scripts/vortex/download-db-container-registry.sh

VORTEX_DEBUG

Set to 1 to print debug information in Vortex scripts.

Default value: UNDEFINED

Defined in: .env.local.example

VORTEX_DEPLOY_ACTION

Deployment action.

Values can be one of: deploy, deploy_override_db, destroy.

  • deploy: Deploy code and preserve database in the environment.
  • deploy_override_db: Deploy code and override database in the environment.
  • destroy: Destroy the environment (if the provider supports it).

Default value: create

Defined in: scripts/vortex/deploy-lagoon.sh, scripts/vortex/deploy.sh

VORTEX_DEPLOY_ALLOW_SKIP

Flag to allow skipping of a deployment using additional flags.

Default value: UNDEFINED

Defined in: scripts/vortex/deploy.sh

VORTEX_DEPLOY_ARTIFACT_DST_BRANCH

Remote repository branch. Can be a specific branch or a token.
@see https://github.com/drevops/git-artifact#token-support

Default value: [branch]

Defined in: scripts/vortex/deploy-artifact.sh

VORTEX_DEPLOY_ARTIFACT_GIT_REMOTE

Remote repository to push code to.

Default value: UNDEFINED

Defined in: scripts/vortex/deploy-artifact.sh

VORTEX_DEPLOY_ARTIFACT_GIT_USER_EMAIL

Name of the user who will be committing to a remote repository.

Default value: UNDEFINED

Defined in: scripts/vortex/deploy-artifact.sh

VORTEX_DEPLOY_ARTIFACT_GIT_USER_NAME

Email address of the user who will be committing to a remote repository.

Default value: Deployment Robot

Defined in: scripts/vortex/deploy-artifact.sh

VORTEX_DEPLOY_ARTIFACT_LOG

Deployment log file name.

Default value: ${VORTEX_DEPLOY_ARTIFACT_ROOT}/deployment_log.txt

Defined in: scripts/vortex/deploy-artifact.sh

VORTEX_DEPLOY_ARTIFACT_ROOT

The root directory where the deployment script should run from. Defaults to
the current directory.

Default value: $(pwd)

Defined in: scripts/vortex/deploy-artifact.sh

VORTEX_DEPLOY_ARTIFACT_SRC

Source of the code to be used for artifact building.

Default value: UNDEFINED

Defined in: scripts/vortex/deploy-artifact.sh

VORTEX_DEPLOY_BRANCH

The Lagoon branch to deploy.

Default value: UNDEFINED

Defined in: scripts/vortex/deploy-lagoon.sh, scripts/vortex/deploy.sh

VORTEX_DEPLOY_CONTAINER_REGISTRY

Container registry name.

Provide port, if required as <server_name>:<port>.

Default value: docker.io

Defined in: scripts/vortex/deploy-container-registry.sh

VORTEX_DEPLOY_CONTAINER_REGISTRY_IMAGE_TAG

The tag of the container image.

Default value: latest

Defined in: scripts/vortex/deploy-container-registry.sh

VORTEX_DEPLOY_CONTAINER_REGISTRY_MAP

Comma-separated map of container services and images to use for deployment in
format "service1=org/image1,service2=org/image2".

Default value: UNDEFINED

Defined in: scripts/vortex/deploy-container-registry.sh, scripts/vortex/export-db.sh

VORTEX_DEPLOY_CONTAINER_REGISTRY_PASS

The password to login into the container registry.

Default value: ${VORTEX_CONTAINER_REGISTRY_PASS}

Defined in: scripts/vortex/deploy-container-registry.sh

VORTEX_DEPLOY_CONTAINER_REGISTRY_USER

The username to login into the container registry.

Default value: ${VORTEX_CONTAINER_REGISTRY_USER}

Defined in: scripts/vortex/deploy-container-registry.sh

VORTEX_DEPLOY_LAGOON_INSTANCE

The Lagoon instance name to interact with.

Default value: amazeeio

Defined in: scripts/vortex/deploy-lagoon.sh

VORTEX_DEPLOY_LAGOON_INSTANCE_GRAPHQL

The Lagoon instance GraphQL endpoint to interact with.

Default value: https://api.lagoon.amazeeio.cloud/graphql

Defined in: scripts/vortex/deploy-lagoon.sh

VORTEX_DEPLOY_LAGOON_INSTANCE_HOSTNAME

The Lagoon instance hostname to interact with.

Default value: ssh.lagoon.amazeeio.cloud

Defined in: scripts/vortex/deploy-lagoon.sh

VORTEX_DEPLOY_LAGOON_INSTANCE_PORT

The Lagoon instance port to interact with.

Default value: 32222

Defined in: scripts/vortex/deploy-lagoon.sh

VORTEX_DEPLOY_MODE

Deployment mode.

Values can be one of: branch, tag.

Default value: branch

Defined in: scripts/vortex/deploy.sh

VORTEX_DEPLOY_PR

The PR number to deploy.

Default value: UNDEFINED

Defined in: scripts/vortex/deploy-lagoon.sh, scripts/vortex/deploy.sh

VORTEX_DEPLOY_PR_BASE_BRANCH

The PR base branch (the branch the PR is raised against). Defaults to 'develop'.

Default value: develop

Defined in: scripts/vortex/deploy-lagoon.sh

VORTEX_DEPLOY_PR_HEAD

The PR head branch to deploy.

Default value: UNDEFINED

Defined in: scripts/vortex/deploy-lagoon.sh

VORTEX_DEPLOY_SSH_FILE

Default SSH file used if custom fingerprint is not provided.

Default value: ${HOME}/.ssh/id_rsa

Defined in: scripts/vortex/deploy-artifact.sh, scripts/vortex/deploy-lagoon.sh

VORTEX_DEPLOY_SSH_FINGERPRINT

SSH key fingerprint used to connect to remote.

Default value: UNDEFINED

Defined in: scripts/vortex/deploy-artifact.sh, scripts/vortex/deploy-lagoon.sh

VORTEX_DEPLOY_TYPES

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

Default value: artifact

Defined in: .env, scripts/vortex/deploy.sh

VORTEX_DEPLOY_WEBHOOK_METHOD

Webhook call method.

Default value: GET

Defined in: scripts/vortex/deploy-webhook.sh

VORTEX_DEPLOY_WEBHOOK_RESPONSE_STATUS

The status code of the expected response.

Default value: 200

Defined in: scripts/vortex/deploy-webhook.sh

VORTEX_DEPLOY_WEBHOOK_URL

The URL of the webhook to call.

Default value: UNDEFINED

Defined in: scripts/vortex/deploy-webhook.sh

VORTEX_DOCTOR_CHECK_BOOTSTRAP

Default value: UNDEFINED

Defined in: scripts/vortex/doctor.sh

VORTEX_DOCTOR_CHECK_CONTAINERS

Default value: 0

Defined in: scripts/vortex/doctor.sh

VORTEX_DOCTOR_CHECK_MINIMAL

Check minimal Doctor requirements.

Default value: 0

Defined in: scripts/vortex/doctor.sh

VORTEX_DOCTOR_CHECK_PORT

Default value: UNDEFINED

Defined in: scripts/vortex/doctor.sh

VORTEX_DOCTOR_CHECK_PYGMY

Default value: UNDEFINED

Defined in: scripts/vortex/doctor.sh

VORTEX_DOCTOR_CHECK_SSH

Default value: UNDEFINED

Defined in: scripts/vortex/doctor.sh

VORTEX_DOCTOR_CHECK_TOOLS

Default value: 1

Defined in: scripts/vortex/doctor.sh

VORTEX_DOCTOR_CHECK_WEBSERVER

Default value: UNDEFINED

Defined in: scripts/vortex/doctor.sh

VORTEX_DOWNLOAD_DB_CONTAINER_REGISTRY

Container registry name.

Provide port, if required as <server_name>:<port>.

Default value: docker.io

Defined in: scripts/vortex/download-db-container-registry.sh

VORTEX_DOWNLOAD_DB_CONTAINER_REGISTRY_PASS

The password to login into the container registry.

Default value: ${VORTEX_CONTAINER_REGISTRY_PASS}

Defined in: scripts/vortex/download-db-container-registry.sh

VORTEX_DOWNLOAD_DB_CONTAINER_REGISTRY_USER

The username to login into the container registry.

Default value: ${VORTEX_CONTAINER_REGISTRY_USER}

Defined in: scripts/vortex/download-db-container-registry.sh

VORTEX_EXPORT_CODE_DIR

Directory to store exported code.

Default value: UNDEFINED

Defined in: CI config

VORTEX_EXPORT_DB_CONTAINER_REGISTRY_DEPLOY_PROCEED

Proceed with container image deployment after it was exported.

Default value: UNDEFINED

Defined in: CI config

VORTEX_GITHUB_DELETE_EXISTING_LABELS

Delete existing labels to mirror the list below.

Default value: 1

Defined in: scripts/vortex/github-labels.sh

VORTEX_GITHUB_REPO

GitHub repository as "org/name" to perform operations on.

Default value: UNDEFINED

Defined in: scripts/vortex/github-labels.sh

VORTEX_INSTALLER_URL

The URL of the installer script.

Default value: https://vortex.drevops.com/install

Defined in: scripts/vortex/update-vortex.sh

VORTEX_INSTALL_COMMIT

Allow providing custom Vortex commit hash to download the sources from.

Default value: UNDEFINED

Defined in: scripts/vortex/update-vortex.sh

VORTEX_LAGOONCLI_FORCE_INSTALL

Flag to force the installation of Lagoon CLI.

Default value: UNDEFINED

Defined in: scripts/vortex/deploy-lagoon.sh, scripts/vortex/task-custom-lagoon.sh

VORTEX_LAGOONCLI_PATH

Location of the Lagoon CLI binary.

Default value: /tmp

Defined in: scripts/vortex/deploy-lagoon.sh, scripts/vortex/task-custom-lagoon.sh

VORTEX_LAGOONCLI_VERSION

Lagoon CLI version to use.

Default value: latest

Defined in: scripts/vortex/deploy-lagoon.sh, scripts/vortex/task-custom-lagoon.sh

VORTEX_LAGOON_PRODUCTION_BRANCH

Dedicated branch to identify the production environment.

Default value: main

Defined in: .env

VORTEX_LOCALDEV_URL

Local development URL.
Override only if you need to use a different URL than the default.

Default value: <current_dir>.docker.amazee.io

Defined in: .env.local.example, scripts/vortex/info.sh

VORTEX_MIRROR_CODE_BRANCH_DST

Destination branch name to mirror code.

Default value: UNDEFINED

Defined in: scripts/vortex/mirror-code.sh

VORTEX_MIRROR_CODE_BRANCH_SRC

Source branch name to mirror code.

Default value: UNDEFINED

Defined in: scripts/vortex/mirror-code.sh

VORTEX_MIRROR_CODE_GIT_USER_EMAIL

Name of the user who will be committing to a remote repository.

Default value: UNDEFINED

Defined in: scripts/vortex/mirror-code.sh

VORTEX_MIRROR_CODE_GIT_USER_NAME

Email address of the user who will be committing to a remote repository.

Default value: Deployment Robot

Defined in: scripts/vortex/mirror-code.sh

VORTEX_MIRROR_CODE_PUSH

Flag to push the branch.

Default value: UNDEFINED

Defined in: scripts/vortex/mirror-code.sh

VORTEX_MIRROR_CODE_REMOTE_DST

Destination remote name.

Default value: origin

Defined in: scripts/vortex/mirror-code.sh

VORTEX_MIRROR_CODE_SSH_FILE

Default SSH file used if custom fingerprint is not provided.

Default value: UNDEFINED

Defined in: scripts/vortex/mirror-code.sh

VORTEX_MIRROR_CODE_SSH_FINGERPRINT

SSH key fingerprint used to connect to a remote.

Default value: UNDEFINED

Defined in: scripts/vortex/mirror-code.sh

VORTEX_NOTIFY_BRANCH

Deployment reference branch.

Default value: UNDEFINED

Defined in: scripts/vortex/notify-github.sh, scripts/vortex/notify-jira.sh

VORTEX_NOTIFY_CHANNELS

The channels of the notifications.

Can be a combination of comma-separated values: email,newrelic,github,jira

Default value: email

Defined in: .env, scripts/vortex/notify.sh

VORTEX_NOTIFY_EMAIL_ENVIRONMENT_URL

Environment URL to notify about.

Default value: ${VORTEX_NOTIFY_ENVIRONMENT_URL}

Defined in: scripts/vortex/notify-email.sh

VORTEX_NOTIFY_EMAIL_FROM

Email to send notifications from.

Default value: webmaster@your-site-url.example

Defined in: .env, scripts/vortex/notify-email.sh

VORTEX_NOTIFY_EMAIL_PROJECT

Project name to notify.

Default value: ${VORTEX_NOTIFY_PROJECT}

Defined in: scripts/vortex/notify-email.sh

VORTEX_NOTIFY_EMAIL_RECIPIENTS

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: "to1@example.com|Jane Doe, to2@example.com|John Doe"

Default value: webmaster@your-site-url.example

Defined in: .env, scripts/vortex/notify-email.sh

VORTEX_NOTIFY_EMAIL_REF

Git reference to notify about.

Default value: ${VORTEX_NOTIFY_REF}

Defined in: scripts/vortex/notify-email.sh

VORTEX_NOTIFY_ENVIRONMENT_TYPE

Deployment environment type: production, uat, dev, pr.

Default value: PR

Defined in: scripts/vortex/notify-github.sh

VORTEX_NOTIFY_ENVIRONMENT_URL

Deployment environment URL.

Default value: UNDEFINED

Defined in: scripts/vortex/notify-github.sh, scripts/vortex/notify-jira.sh, scripts/vortex/notify-webhook.sh

VORTEX_NOTIFY_EVENT

The event to notify about. Can be 'pre_deployment' or 'post_deployment'.

Default value: UNDEFINED

Defined in: scripts/vortex/notify-github.sh, scripts/vortex/notify.sh

VORTEX_NOTIFY_GITHUB_TOKEN

Deployment GitHub token.

Default value: ${GITHUB_TOKEN}

Defined in: scripts/vortex/notify-github.sh

VORTEX_NOTIFY_JIRA_ASSIGNEE

Assign the ticket to this account.

If left empty - no assignment will be performed.

Default value: UNDEFINED

Defined in: scripts/vortex/notify-jira.sh

VORTEX_NOTIFY_JIRA_COMMENT_PREFIX

Deployment comment prefix.

Default value: Deployed to

Defined in: scripts/vortex/notify-jira.sh

VORTEX_NOTIFY_JIRA_ENDPOINT

JIRA API endpoint.

Default value: https://jira.atlassian.com

Defined in: scripts/vortex/notify-jira.sh

VORTEX_NOTIFY_JIRA_TOKEN

JIRA token.

Default value: UNDEFINED

Defined in: scripts/vortex/notify-jira.sh

VORTEX_NOTIFY_JIRA_TRANSITION

State to move the ticket to.

If left empty - no transition will be performed.

Default value: UNDEFINED

Defined in: scripts/vortex/notify-jira.sh

VORTEX_NOTIFY_JIRA_USER

JIRA user.

Default value: UNDEFINED

Defined in: scripts/vortex/notify-jira.sh

VORTEX_NOTIFY_NEWRELIC_APIKEY

NewRelic API key, usually of type 'USER'.

Default value: UNDEFINED

Defined in: scripts/vortex/notify-newrelic.sh

VORTEX_NOTIFY_NEWRELIC_APPID

Optional NewRelic Application ID.

Will be discovered automatically from application name if not provided.

Default value: UNDEFINED

Defined in: scripts/vortex/notify-newrelic.sh

VORTEX_NOTIFY_NEWRELIC_APP_NAME

NewRelic application name as it appears in the dashboard.

Default value: ${VORTEX_NOTIFY_NEWRELIC_PROJECT}-${VORTEX_NOTIFY_NEWRELIC_REF}

Defined in: scripts/vortex/notify-newrelic.sh

VORTEX_NOTIFY_NEWRELIC_CHANGELOG

Optional NewRelic notification changelog.

Defaults to the description.

Default value: ${VORTEX_NOTIFY_NEWRELIC_DESCRIPTION}

Defined in: scripts/vortex/notify-newrelic.sh

VORTEX_NOTIFY_NEWRELIC_DESCRIPTION

Optional NewRelic notification description.

Default value: ${VORTEX_NOTIFY_NEWRELIC_REF} deployed

Defined in: scripts/vortex/notify-newrelic.sh

VORTEX_NOTIFY_NEWRELIC_ENDPOINT

Optional NewRelic endpoint.

Default value: https://api.newrelic.com/v2

Defined in: scripts/vortex/notify-newrelic.sh

VORTEX_NOTIFY_NEWRELIC_PROJECT

Project name to notify.

Default value: ${VORTEX_NOTIFY_PROJECT}

Defined in: scripts/vortex/notify-newrelic.sh

VORTEX_NOTIFY_NEWRELIC_REF

Deployment reference, such as a git branch or pr.

Default value: ${VORTEX_NOTIFY_REF}

Defined in: scripts/vortex/notify-newrelic.sh

VORTEX_NOTIFY_NEWRELIC_SHA

Deployment commit reference, such as a git SHA.

Default value: ${VORTEX_NOTIFY_SHA}

Defined in: scripts/vortex/notify-newrelic.sh

VORTEX_NOTIFY_NEWRELIC_USER

Optional name of the user performing the deployment.

Default value: Deployment robot

Defined in: scripts/vortex/notify-newrelic.sh

VORTEX_NOTIFY_PROJECT

Project name to notify.

Default value: UNDEFINED

Defined in: scripts/vortex/notify-webhook.sh, scripts/vortex/notify.sh

VORTEX_NOTIFY_REF

Git reference to notify about.

Default value: UNDEFINED

Defined in: scripts/vortex/notify-webhook.sh

VORTEX_NOTIFY_REPOSITORY

Deployment repository.

Default value: UNDEFINED

Defined in: scripts/vortex/notify-github.sh

VORTEX_NOTIFY_SKIP

Flag to skip running of all notifications.

Default value: UNDEFINED

Defined in: scripts/vortex/notify.sh

VORTEX_NOTIFY_WEBHOOK_HEADERS

Webhook headers.
Separate multiple headers with a pipe |.
Example: Content-type: application/json|Authorization: Bearer API_KEY.

Default value: Content-type: application/json

Defined in: scripts/vortex/notify-webhook.sh

VORTEX_NOTIFY_WEBHOOK_METHOD

Webhook method like POST, GET, PUT.

Default value: POST

Defined in: scripts/vortex/notify-webhook.sh

VORTEX_NOTIFY_WEBHOOK_PAYLOAD

Webhook message body as json format.

Default value: ${VORTEX_NOTIFY_WEBHOOK_PAYLOAD:-{\"channel\": \"Channel 1\", \"message\": \"%message%\", \"project\": \"%project%\", \"ref\": \"%ref%\", \"timestamp\": \"%timestamp%\", \"environment_url\": \"%environment_url%\"}}

Defined in: scripts/vortex/notify-webhook.sh

VORTEX_NOTIFY_WEBHOOK_RESPONSE_STATUS

The pattern of response code return by curl.

Default value: 200

Defined in: scripts/vortex/notify-webhook.sh

VORTEX_NOTIFY_WEBHOOK_URL

Webhook URL.

Default value: UNDEFINED

Defined in: scripts/vortex/notify-webhook.sh

VORTEX_NPM_VERBOSE

Print output from NPM install.

Default value: UNDEFINED

Defined in: .env

VORTEX_PROJECT

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.

Default value: your_site

Defined in: .env, scripts/vortex/info.sh

VORTEX_PROVISION_ACQUIA_SKIP

Skip Drupal site provisioning in Acquia environment.

Default value: UNDEFINED

Defined in: ACQUIA ENVIRONMENT

VORTEX_PROVISION_ENVIRONMENT

Current environment name discovered during site provisioning.

Default value: UNDEFINED

Defined in: scripts/vortex/provision.sh

VORTEX_PROVISION_OVERRIDE_DB

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.

Default value: UNDEFINED

Defined in: .env, .env.local.example, scripts/vortex/provision.sh

VORTEX_PROVISION_POST_OPERATIONS_SKIP

Flag to skip running of operations after site provision is complete.
Useful to only import the database from file (or install from profile) and not
perform any additional operations. For example, when need to capture database
state before any updates ran (for example, DB caching in CI).

Default value: 0

Defined in: scripts/vortex/provision.sh

VORTEX_PROVISION_SANITIZE_DB_ADDITIONAL_FILE

Path to file with custom sanitization SQL queries.

To skip custom sanitization, remove the file defined in
VORTEX_PROVISION_SANITIZE_DB_ADDITIONAL_FILE variable from the codebase.

Default value: ./scripts/sanitize.sql

Defined in: scripts/vortex/provision-sanitize-db.sh

VORTEX_PROVISION_SANITIZE_DB_EMAIL

Sanitization email pattern. Sanitization is enabled by default in all
non-production environments.
@see https://vortex.drevops.com/workflows/build#sanitization

Default value: user_%uid@your-site-url.example

Defined in: .env, scripts/vortex/provision-sanitize-db.sh

VORTEX_PROVISION_SANITIZE_DB_PASSWORD

Password replacement used for sanitised database.

Default value: <RANDOM STRING>

Defined in: .env, scripts/vortex/provision-sanitize-db.sh

VORTEX_PROVISION_SANITIZE_DB_REPLACE_USERNAME_WITH_EMAIL

Replace username with email after database sanitization. Useful when email
is used as username.

Default value: UNDEFINED

Defined in: .env, scripts/vortex/provision-sanitize-db.sh

VORTEX_PROVISION_SANITIZE_DB_SKIP

Skip database sanitization.

Database sanitization is enabled by default in all non-production
environments and is always skipped in the production environment.

Default value: UNDEFINED

Defined in: .env, scripts/vortex/provision.sh

VORTEX_PROVISION_SKIP

Flag to skip site provisioning.

Default value: UNDEFINED

Defined in: scripts/vortex/provision.sh

VORTEX_PROVISION_USE_MAINTENANCE_MODE

Put the site into a maintenance mode during site provisioning.

Default value: 1

Defined in: .env, scripts/vortex/provision.sh

VORTEX_PROVISION_USE_PROFILE

Set to 1 to install a site from profile instead of the database file dump.

Default value: UNDEFINED

Defined in: .env, scripts/vortex/provision.sh

VORTEX_PURGE_CACHE_ACQUIA_SKIP

Skip purging of edge cache in Acquia environment.

Default value: UNDEFINED

Defined in: ACQUIA ENVIRONMENT

VORTEX_SHOW_LOGIN

Show one-time login link.

Default value: UNDEFINED

Defined in: scripts/vortex/info.sh

VORTEX_SSH_FILE

Default SSH key file.

Default value: ${HOME}/.ssh/id_rsa

Defined in: scripts/vortex/doctor.sh

VORTEX_SSH_PREFIX

Prefix used to load SSH key from prefixes environment variables:

Default value: UNDEFINED

Defined in: scripts/vortex/setup-ssh.sh

VORTEX_TASK_COPY_DB_ACQUIA_DST

Destination environment name to copy DB to.

Default value: UNDEFINED

Defined in: scripts/vortex/task-copy-db-acquia.sh

VORTEX_TASK_COPY_DB_ACQUIA_NAME

Database name to copy.

Default value: UNDEFINED

Defined in: scripts/vortex/task-copy-db-acquia.sh

VORTEX_TASK_COPY_DB_ACQUIA_SKIP

Skip copying of database between Acquia environment.

Default value: UNDEFINED

Defined in: ACQUIA ENVIRONMENT

VORTEX_TASK_COPY_DB_ACQUIA_SRC

Source environment name to copy DB from.

Default value: UNDEFINED

Defined in: scripts/vortex/task-copy-db-acquia.sh

VORTEX_TASK_COPY_DB_ACQUIA_STATUS_INTERVAL

Interval in seconds to check task status.

Default value: 10

Defined in: scripts/vortex/task-copy-db-acquia.sh

VORTEX_TASK_COPY_DB_ACQUIA_STATUS_RETRIES

Number of status retrieval retries. If this limit reached and task has not
yet finished, the task is considered failed.

Default value: 600

Defined in: scripts/vortex/task-copy-db-acquia.sh

VORTEX_TASK_COPY_FILES_ACQUIA_DST

Destination environment name to copy to.

Default value: UNDEFINED

Defined in: scripts/vortex/task-copy-files-acquia.sh

VORTEX_TASK_COPY_FILES_ACQUIA_SKIP

Skip copying of files between Acquia environment.

Default value: UNDEFINED

Defined in: ACQUIA ENVIRONMENT

VORTEX_TASK_COPY_FILES_ACQUIA_SRC

Source environment name to copy from.

Default value: UNDEFINED

Defined in: scripts/vortex/task-copy-files-acquia.sh

VORTEX_TASK_COPY_FILES_ACQUIA_STATUS_INTERVAL

Interval in seconds to check task status.

Default value: 10

Defined in: scripts/vortex/task-copy-files-acquia.sh

VORTEX_TASK_COPY_FILES_ACQUIA_STATUS_RETRIES

Number of status retrieval retries. If this limit reached and task has not
yet finished, the task is considered failed.

Default value: 300

Defined in: scripts/vortex/task-copy-files-acquia.sh

VORTEX_TASK_LAGOON_BRANCH

The Lagoon branch to run the task on.

Default value: UNDEFINED

Defined in: scripts/vortex/task-custom-lagoon.sh

VORTEX_TASK_LAGOON_COMMAND

The task command to execute.

Default value: UNDEFINED

Defined in: scripts/vortex/task-custom-lagoon.sh

VORTEX_TASK_LAGOON_INSTANCE

The Lagoon instance name to interact with.

Default value: amazeeio

Defined in: scripts/vortex/task-custom-lagoon.sh

VORTEX_TASK_LAGOON_INSTANCE_GRAPHQL

The Lagoon instance GraphQL endpoint to interact with.

Default value: https://api.lagoon.amazeeio.cloud/graphql

Defined in: scripts/vortex/task-custom-lagoon.sh

VORTEX_TASK_LAGOON_INSTANCE_HOSTNAME

The Lagoon instance hostname to interact with.

Default value: ssh.lagoon.amazeeio.cloud

Defined in: scripts/vortex/task-custom-lagoon.sh

VORTEX_TASK_LAGOON_INSTANCE_PORT

The Lagoon instance port to interact with.

Default value: 32222

Defined in: scripts/vortex/task-custom-lagoon.sh

VORTEX_TASK_LAGOON_NAME

The task name.

Default value: Automation task

Defined in: scripts/vortex/task-custom-lagoon.sh

VORTEX_TASK_LAGOON_PROJECT

The Lagoon project to run tasks for.

Default value: ${LAGOON_PROJECT}

Defined in: scripts/vortex/task-custom-lagoon.sh

VORTEX_TASK_PURGE_CACHE_ACQUIA_DOMAINS_FILE

File with a list of domains that should be purged.

Default value: domains.txt

Defined in: scripts/vortex/task-purge-cache-acquia.sh

VORTEX_TASK_PURGE_CACHE_ACQUIA_ENV

An environment name to purge cache for.

Default value: UNDEFINED

Defined in: scripts/vortex/task-purge-cache-acquia.sh

VORTEX_TASK_PURGE_CACHE_ACQUIA_STATUS_INTERVAL

Interval in seconds to check task status.

Default value: 10

Defined in: scripts/vortex/task-purge-cache-acquia.sh

VORTEX_TASK_PURGE_CACHE_ACQUIA_STATUS_RETRIES

Number of status retrieval retries. If this limit reached and task has not
yet finished, the task is considered failed.

Default value: 300

Defined in: scripts/vortex/task-purge-cache-acquia.sh

VORTEX_TASK_SSH_FILE

Default SSH file used if custom fingerprint is not provided.

Default value: ${HOME}/.ssh/id_rsa

Defined in: scripts/vortex/task-custom-lagoon.sh

VORTEX_TASK_SSH_FINGERPRINT

SSH key fingerprint used to connect to a remote.

Default value: UNDEFINED

Defined in: scripts/vortex/task-custom-lagoon.sh

VORTEX_TZ

The timezone for the containers.

Default value: Australia/Melbourne

Defined in: .env

VORTEX_WEBROOT

Name of the webroot directory with Drupal codebase.

Default value: web

Defined in: .env, scripts/vortex/download-db-lagoon.sh, scripts/vortex/info.sh, scripts/vortex/provision.sh, scripts/vortex/reset.sh


Variable list generated with Shellvar - Utility to work with shell variables