Skip to main content


List of Gitlab Variables for mDIS

There are three main stages of gitlab-ci actions, "vanilla", "foundation", "blank".

  1. "vanilla" instance: 1:1 copy of IG Bremen codebase
  2. "foundation" instance: intermediate1, few customizations
  3. "blank" instance: intermediate2, almost finished (4. > "production" instance: final instance - live, tested, populated with data - not yet implemented)

For each of these stages a different set of config variables is needed. This is why the table below is so long.

Configuration page of these variables: see Settings Pageopen in new window (Admin Access needed).

Variables: Explanations and examplary values

Some Variable Names and Values might have changed meanwhile.
The true values and current values of these variables are sometimes different (in particular passwords and accesstokens), or might no longer be in use, or additional variables might exist:

KeyExample ValueExplanation
BRANCH_CUSTOMmaster--git-gfz--ci-cdbranch name where .gitlab-ci.yml file resides
BRANCH_BLANKmaster--git-gfz--ci-cdbranch name where .gitlab-ci.yml file resides
CONTAINER_REGISTRY_HOSTgit.gfz.dewhere the container registry for mdisimages is located
CONTAINER_REGISTRY_USERknbuser name for the container registry, with write access ("push")
DOCKERFILE_BASEDockerfile-php81-node18.dockerfileBuild instructions for the base image
DOCKERFILE_MDIS_CUSTOMDockerfile-mdis-foundation.dockerfileBuild instructions for the foundation image
DOCKERFILE_MDIS_BLANKDockerfile-mdis-blank.dockerfileBuild instructions for the blank image
DOCKER_REGISTRY_GROUPicdp-osgAccount name for the container registry (use employee group instead of single user)
DOCKER_REGISTRY_GROUP_ACCESSTOKENeX2WK_______________Access token for the container registry (write, push)
DOCKER_REGISTRY_URLgit.gfz.de:5000URL of the container registry
GITHUB_TOKENgithub_pat_11AA_____a 3rd party file must be downloaded from Gihub(with Personal Token, anonymous accesses are capped)
MDIS_CUSTOM_DOMAINwb31.gfz.dedomain name for the "foundation" instance (intermediate1), testing on this host
MDIS_CUSTOM_INSTANCE_NAMEmdis-foundationname of the foundation instance
MDIS_CUSTOM_PATHmdis/foundationURL path to the foundation instance
MDIS_FOUNDATION_NAMEphp82_node18_mdis_foundationname of the "foundation" Yii2/PHP image
MDIS_BLANK_DOMAINwb31.gfz.dedomain name for the blank (intermediate2) instance, testing on this host
MDIS_BLANK_INSTANCE_NAMEmdis-blankname of the blank instance
MDIS_BLANK_PATHmdis/blankURL path to the blank instance
MDIS_USER1_EMAILdm_icdp@gfz.demDIS login screen: email address of the first user
MDIS_USER1_NAMEdm_icdpmDIS login screen: name of the first user
MDIS_USER1_PASSWORD(dm_icdp_pw)mDIS login screen: password of the first user
MDIS_USER1_ROLEadministratormDIS login screen: role of the first user
MDIS_VANILLA_NODE_IMAGEnode:16.17.0node image for the vanilla instance
MDIS_VANILLA_YII2IMAGEyiisoftware/yii2-php:7.4-apacheYii2/PHP image for the vanilla instance
MYSQL_CUSTOM_DATABASEdis_test_foundationname of the mySQL database for the "foundation" instance
MYSQL_CUSTOM_HOSTwb31.gfz.de:8508host name of the mySQL database for the "foundation" instance
MYSQL_CUSTOM_PASSWORDdis_db_passwordpassword for the mySQL database for the "foundation" instance
MYSQL_CUSTOM_ROOT_PASSWORDmy_root_pwmySQL root user password for the mySQL database for the "foundation" instance
MYSQL_CUSTOM_USERdis_db_useruser name for the mySQL database for the "foundation" instance
MYSQL_BLANK_DATABASEdis_test_blankname of the mySQL database for the blank instance
MYSQL_BLANK_HOSTwb31.gfz.de:8508host name of the mySQL database for the blank instance
MYSQL_BLANK_PASSWORDdis_db_passwordpassword for the mySQL database for the blank instance
MYSQL_BLANK_USERdis_db_useruser name for the mySQL database for the blank instance
MYSQL_VANILLA_DATABASEdis_test_vanillaname of the mySQL database for the vanilla instance
MYSQL_VANILLA_DOCKERHUB_IMAGEmysql:8.0.33-debianmySQL image for the vanilla instance
MYSQL_VANILLA_HOSTwb31.gfz.de:8508host name of the mySQL database for the vanilla instance
MYSQL_VANILLA_PASSWORDdis_db_passwordpassword for the mySQL database for the vanilla instance
MYSQL_VANILLA_USERdis_db_useruser name for the mySQL database for the vanilla instance

2023-08-14