docker pull snyk/broker:gitlab
tag. The following environment variables are mandatory to configure the Broker client:BROKER_TOKEN
- the Snyk Broker token, obtained from your GitLab integration settings view (app.snyk.io).GITLAB_TOKEN
- a GitLab personal access token with api
scopeGITLAB
- the hostname of your GitLab deployment, such as your.gitlab.domain.com
or GitLab.com
.PORT
- the local port at which the Broker client accepts connections. Default is 8000.BROKER_CLIENT_URL
- the full URL of the Broker client as it will be accessible to GitLab.com webhooks, such as http://broker.url.example:8000
accept.json
for Snyk IaC, Code, Open Source and Container for GitLab is attached.Add Projects
docker logs <container id>
where container id is the GitLab Broker container ID to look for any errors