Skip to content

Predefined environment variables

Variable name Visibility Description
IS_QCK Always This variable is always set to true
QCK_SERVICE_ID Always Service ID
QCK_SERVICE_NAME Always Service name
QCK_SERVICE_[NAME]_URL Always URL of the given service
QCK_SERVICE_[NAME]_DOMAIN Always URL of the given service without protocol.
QCK_SERVICE_DEFAULT Always Set to true if the current service is the default one. To false in other case
QCK_ENVIRONMENT_URL Always Full environment url, with protocol
QCK_ENVIRONMENT_DOMAIN Always Environment url without protocol
QCK_ENVIRONMENT_BASE_DOMAIN Always Base domain of the Qaack instance
QCK_ENVIRONMENT_URL_[ALIAS] Always Similar to QCK_ENVIRONMENT_URL but for a alias
QCK_ENVIRONMENT_DOMAIN_[ALIAS] Always Similar to QCK_ENVIRONMENT_DOMAIN but for a alias
QCK_ENVIRONMENT_ID Always Environment ID
QCK_ENVIRONMENT_REF Always Environment reference
QCK_ENVIRONMENT_REF_NAME Always Environment reference name
QCK_ENVIRONMENT_REF_TYPE Always Environment reference type
QCK_ENVIRONMENT_CREATED_AT_UNIX Always Environment creation time in unix format
QCK_ENVIRONMENT_CREATED_AT Always Environment creation time
QCK_ENVIRONMENT_TTL Only if the environment has expiration time Time to live of the environment
QCK_ENVIRONMENT_EXPIRATION_TIME_UNIX Only defined if there if the environment has expiration time. Expiration time in unix format
QCK_ENVIRONMENT_EXPIRATION_TIME Only defined if there if the environment has expiration time. Expiration time
QCK_REPOSITORY_NAME Always Repository name
QCK_REPOSITORY_TYPE Always Repository type
QCK_REPOSITORY_ORIGIN Only in generic repositories This variable is set only in generic repositories
QCK_GROUP_ID Always Group ID
QCK_GROUP_NAME Always Group name