forked from cdxgen/cdxgen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
23 lines (22 loc) · 847 Bytes
/
docker-compose.yml
File metadata and controls
23 lines (22 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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