name: cdxgen services: cdxgen: # For custom builds, use the annotations to describe the pedigree.variants annotations: org.opencontainers.image.vendor: cyclonedx org.opencontainers.image.licenses: Apache-2.0 org.opencontainers.image.title: cdxgen environment: - NODE_COMPILE_CACHE=/tmp/cdxgen-node-cache # Using compile cache improves cold start performance - FETCH_LICENSE=false # Set this to true to always include license - CDXGEN_DEBUG_MODE=info # Set this to debug to get more console output build: dockerfile: ./ci/Dockerfile context: . # image: ghcr.io/cyclonedx/cdxgen ports: - "9090:9090" volumes: - $HOME:/app # Set this to your directory containing sources - /tmp:/tmp command: cdxgen --server --server-host 0.0.0.0 --server-port 9090