Environment predefined variables

Predefined variables

Variable name

Description

IS_QCK

This variable is always set to true

QCK_SERVICE_ID

Service ID

QCK_SERVICE_NAME

Service name

QCK_SERVICE_[NAME]_URL

URL of the given service

QCK_SERVICE_[NAME]_DOMAIN

URL of the given service without protocol.

QCK_SERVICE_DEFAULT

Set to true if the current service is the default one. To false in other case

QCK_ENVIRONMENT_URL

Full environment url, with protocol

QCK_ENVIRONMENT_DOMAIN

Environment url without protocol

QCK_ENVIRONMENT_BASE_DOMAIN

Base domain of the Qaack instance

QCK_ENVIRONMENT_URL_[ALIAS]

Similar to QCK_ENVIRONMENT_URL but for a alias

QCK_ENVIRONMENT_DOMAIN_[ALIAS]

Similar to QCK_ENVIRONMENT_DOMAIN but for a alias

QCK_ENVIRONMENT_ID

QCK_ENVIRONMENT_REF

QCK_ENVIRONMENT_REF_NAME

QCK_ENVIRONMENT_REF_TYPE

QCK_ENVIRONMENT_CREATED_AT_UNIX

QCK_ENVIRONMENT_CREATED_AT

QCK_ENVIRONMENT_TTL

Only defined if there if the environment has expiration time.

QCK_ENVIRONMENT_EXPIRATION_TIME_UNIX

Only defined if there if the environment has expiration time.

QCK_ENVIRONMENT_EXPIRATION_TIME

Only defined if there if the environment has expiration time.

QCK_REPOSITORY_NAME

QCK_REPOSITORY_TYPE

QCK_REPOSITORY_ORIGIN

This variable is set only in generic repositories

QCK_GROUP_ID

QCK_GROUP_NAME