Last active
November 1, 2022 21:09
-
-
Save obenn/916c83b1bc8870f764a894365c9ea54b to your computer and use it in GitHub Desktop.
Docker compose for Snyk Code agent bitbucket server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reference: https://docs.snyk.io/snyk-code/snyk-code-local-git-support | |
# Reference: https://github.com/snyk/broker | |
version: "3.9" | |
restart: "always" | |
services: | |
broker: | |
image: snyk/broker:bitbucket-server | |
ports: | |
- "8000:8000" | |
environment: | |
ACCEPT: "/accept.json" | |
BITBUCKET: "" | |
BITBUCKET_API: "" | |
BITBUCKET_PASSWORD: "" | |
BITBUCKET_USERNAME: "" | |
BROKER_CLIENT_URL: "" | |
BROKER_TOKEN: "" | |
CA_CERT: "" | |
GIT_CLIENT_URL: "http://code-agent:3000" | |
PORT: 8000 | |
NODE_TLS_REJECT_UNAUTHRORIZED: 0 | |
volumes: | |
- $PWD/accept.json:/accept.json | |
code-agent: | |
image: snyk/code-agent | |
ports: | |
- "3000:3000" | |
environment: | |
PORT: 3000 | |
SNYK_TOKEN: "" | |
NODE_TLS_REJECT_UNAUTHRORIZED: 0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment