Skip to content

Environment Variables

VariableDescription
GITLAB_SERVER_URLGitLab instance URL (e.g., https://gitlab.com)
GITLAB_PROJECTProject path (e.g., mygroup/myproject)
GITLAB_ACCESS_TOKENGitLab personal access token with api scope
VariableDescriptionDefault
CA_CERT_BASE64Base64-encoded CA certificate (PEM). Takes precedence over CA_CERT_PATH
CA_CERT_PATHPath to custom CA certificate file (PEM)
EXECUTION_ENVIRONMENTLocalDev, Standalone, Docker, CIDocker (no need to set when running in Docker)
DEPLOYMENT_STAGEDevelopment, Staging, Production
SERVICE_HOSTService host identifier
Terminal window
docker run -d \
--name gitlab-auto-merge \
-p 8711:8711 \
-e DEPLOYMENT_STAGE=Production \
-e GITLAB_SERVER_URL=https://gitlab.example.com \
-e GITLAB_PROJECT=mygroup/myproject \
-e GITLAB_ACCESS_TOKEN=glpat-xxxx \
neckarit/gitlab-auto-merge:latest \
--mode=Run