GitLab Container Registry
⚡ Active by Default
The gitlab registry module authenticates against GitLab Container Registries (GitLab.com and self-hosted instances).
Zero-Config for Public Images
Public packages work out of the box with zero configuration. Configure this module to monitor private repositories or avoid anonymous rate limits.
⚙️ Configuration Variables
WUD_REGISTRY_GITLAB_{registry_name}_TOKEN
Requiredstring
GitLab Personal Access Token or Deploy Token
WUD_REGISTRY_GITLAB_{registry_name}_AUTHURL
Optionalurldefault: https://gitlab.com
GitLab authentication base URL
WUD_REGISTRY_GITLAB_{registry_name}_URL
Optionalurldefault: https://registry.gitlab.com
GitLab Container Registry base URL
WUD_REGISTRY_GITLAB_{registry_name}_USERNAME
Optionalstring
Username (required when using a Group Access Token or Deploy Token)
🚀 Examples
Authenticate with GitLab.com
- Docker Compose
- Docker
services:
whatsupdocker:
image: getwud/wud
environment:
- WUD_REGISTRY_GITLAB_LOCAL_TOKEN=glpat-xxxxxxxxxxxxxxxxxxxx
docker run \
-e WUD_REGISTRY_GITLAB_LOCAL_TOKEN="glpat-xxxxxxxxxxxxxxxxxxxx" \
getwud/wud
Authenticate with a Self-Hosted GitLab Instance
- Docker Compose
- Docker
services:
whatsupdocker:
image: getwud/wud
environment:
- WUD_REGISTRY_GITLAB_LOCAL_URL=https://registry.gitlab.example.com
- WUD_REGISTRY_GITLAB_LOCAL_AUTHURL=https://gitlab.example.com
- WUD_REGISTRY_GITLAB_LOCAL_TOKEN=glpat-xxxxxxxxxxxxxxxxxxxx
docker run \
-e WUD_REGISTRY_GITLAB_LOCAL_URL="https://registry.gitlab.example.com" \
-e WUD_REGISTRY_GITLAB_LOCAL_AUTHURL="https://gitlab.example.com" \
-e WUD_REGISTRY_GITLAB_LOCAL_TOKEN="glpat-xxxxxxxxxxxxxxxxxxxx" \
getwud/wud
📖 Setup Guide: Creating a GitLab Personal Access Token
- Navigate to GitLab Personal Access Tokens.
- Select the
read_registryscope (the only scope required by WUD). - Click Create personal access token, copy the token string, and set it as
WUD_REGISTRY_GITLAB_{registry_name}_TOKEN.