Skip to content

Instantly share code, notes, and snippets.

@obenn
Last active June 7, 2022 18:55
Show Gist options
  • Save obenn/7453ea8af0a7b160ed4021ef77fa80c0 to your computer and use it in GitHub Desktop.
Save obenn/7453ea8af0a7b160ed4021ef77fa80c0 to your computer and use it in GitHub Desktop.
Snyk Broker CR Docker Compose
# Reference: https://support.snyk.io/hc/en-us/articles/360017040957-Snyk-integration-to-self-hosted-container-registries
version: "3.9"
services:
broker:
image: snyk/broker:container-registry-agent
ports:
- "8001:8001"
environment:
CR_TYPE: # VALUE HERE
CR_BASE: # VALUE HERE
CR_USERNAME: # VALUE HERE
CR_PASSWORD: # VALUE HERE
CR_AGENT_URL: http://broker-cr:8081
BROKER_TOKEN: # VALUE HERE
BROKER_CLIENT_URL: # VALUE HERE
PORT: 8001
broker-cr:
image: snyk/container-registry-agent:latest
ports:
- "8081:8081"
environment:
SNYK_PORT: 8081
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment