docker pull snyk/broker:gitlabtag. 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
GITLAB- the hostname of your GitLab deployment, such as
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
accept.jsonfor Snyk IaC, Code, Open Source and Container for GitLab is attached.
docker logs <container id>where container id is the GitLab Broker container ID to look for any errors