Built from https://github.com/SEG-UNIBE/BF-CBOM.git
1.1K
Built from https://github.com/SEG-UNIBE/BF-CBOM.git
VERSION=1.0.3 docker compose -f docker-compose.yml --profile prod up -d
docker-compose.yml
name: bf-cbom
services:
redis:
image: redis:7.4.9
platform: linux/amd64
ports:
- "6379:6379"
volumes:
- redis-data:/data
restart: on-failure:3
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 2s
timeout: 2s
retries: 5
start_period: 1s
coordinator:
image: shoeper/bfcbom-coordinator:${VERSION:-latest}
platform: linux/amd64
ports:
- "8501:8501"
depends_on:
- redis
environment:
- AVAILABLE_WORKERS=${AVAILABLE_WORKERS:-cdxgen,cbomkit,deepseek,cryptobomforge}
- AVAILABLE_LANGUAGES=python,java
- GITHUB_CACHE_TTL_SEC=86400
- REDIS_HOST=redis
- REDIS_PORT=6379
env_file: docker/env/coordinator.env
restart: on-failure:3
healthcheck:
test: ["CMD", "curl", "-fsS", "http://127.0.0.1:8501/_stcore/health"]
interval: 2s
timeout: 2s
retries: 5
start_period: 1s
worker-skeleton:
image: shoeper/bfcbom-worker-skeleton:${VERSION:-latest}
platform: linux/amd64
depends_on:
coordinator:
condition: service_healthy
redis:
condition: service_healthy
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- WORKER_TIMEOUT_SEC=6
env_file: docker/env/worker-skeleton.env
restart: on-failure:3
profiles: [dev, all]
worker-testing:
image: shoeper/bfcbom-worker-testing:${VERSION:-latest}
platform: linux/amd64
depends_on:
coordinator:
condition: service_healthy
redis:
condition: service_healthy
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- WORKER_TIMEOUT_SEC=6
- TESTING_MIN_CBOM_KB=50
- TESTING_MAX_CBOM_KB=1000
env_file: docker/env/worker-testing.env
restart: on-failure:3
profiles: [dev, all]
worker-cbomkit:
image: shoeper/bfcbom-worker-cbomkit:${VERSION:-latest}
platform: linux/amd64
depends_on:
coordinator:
condition: service_healthy
redis:
condition: service_healthy
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- WORKER_TIMEOUT_SEC=600
- CBOMKIT_HEALTH_WAIT_SEC=20
- JAVA_OPTS=-Xms1g -Xmx6g -XX:+ExitOnOutOfMemoryError
env_file: docker/env/worker-cbomkit.env
restart: on-failure:3
profiles: [prod, all]
worker-cdxgen:
image: shoeper/bfcbom-worker-cdxgen:${VERSION:-latest}
platform: linux/amd64
depends_on:
coordinator:
condition: service_healthy
redis:
condition: service_healthy
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- WORKER_TIMEOUT_SEC=600
- CDXGEN_DEBUG_MODE=debug
env_file: docker/env/worker-cdxgen.env
restart: on-failure:3
profiles: [prod, all]
worker-deepseek:
image: shoeper/bfcbom-worker-deepseek:${VERSION:-latest}
platform: linux/amd64
depends_on:
coordinator:
condition: service_healthy
redis:
condition: service_healthy
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- WORKER_TIMEOUT_SEC=120
env_file: docker/env/worker-deepseek.env
restart: on-failure:3
profiles: [prod, all]
worker-mssbomtool:
image: shoeper/bfcbom-worker-mssbomtool:${VERSION:-latest}
platform: linux/amd64
depends_on:
coordinator:
condition: service_healthy
redis:
condition: service_healthy
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- WORKER_TIMEOUT_SEC=120
env_file: docker/env/worker-mssbomtool.env
restart: on-failure:3
profiles: [prod, all]
worker-cryptobomforge:
image: shoeper/bfcbom-worker-cryptobomforge:${VERSION:-latest}
platform: linux/amd64
depends_on:
coordinator:
condition: service_healthy
redis:
condition: service_healthy
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- WORKER_TIMEOUT_SEC=600
- AVAILABLE_LANGUAGES=python,java
- CODEQL_RAM_MB=4096
env_file: docker/env/worker-cryptobomforge.env
restart: on-failure:3
profiles: [prod, all]
misc-treesimilarity:
image: shoeper/bfcbom-misc-treesimilarity:${VERSION:-latest}
platform: linux/amd64
build:
context: .
dockerfile: ./docker/Dockerfile.misc-treesimilarity
depends_on:
coordinator:
condition: service_healthy
redis:
condition: service_healthy
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- CALC_TIMEOUT_SEC=300
env_file: docker/env/misc-treesimilarity.env
restart: no
profiles: [dev]
misc-pyqun:
image: shoeper/bfcbom-misc-pyqun:${VERSION:-latest}
platform: linux/amd64
depends_on:
coordinator:
condition: service_healthy
redis:
condition: service_healthy
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- CALC_TIMEOUT_SEC=300
env_file: docker/env/misc-pyqun.env
restart: no
profiles: [dev, prod, all]
volumes:
redis-data:
Content type
Image
Digest
sha256:c7bfc57af…
Size
396.8 MB
Last updated
5 months ago
docker pull shoeper/bfcbom-coordinator