8f10353f0c
CI / lint (push) Has been cancelled
CI / js-syntax (push) Successful in 10m24s
CI / deps-audit (push) Has been cancelled
CI / test (push) Failing after 24m55s
CI / sast-bandit (push) Failing after 11m13s
CI / trivy (push) Failing after 9m32s
Docker Publish / build-and-push (push) Failing after 34m3s
27 lines
827 B
YAML
27 lines
827 B
YAML
# Explicit name so compose doesn't derive it from the parent directory
|
|
# (which is now `build/`, giving misleading object names like
|
|
# `build_default` for the network).
|
|
name: stemdeck
|
|
|
|
services:
|
|
stemdeck:
|
|
# Compose file lives in build/, so the build context is the parent
|
|
# (project root) and the Dockerfile sits next to this compose file.
|
|
build:
|
|
context: ..
|
|
dockerfile: build/Dockerfile
|
|
image: stemdeck
|
|
container_name: stemdeck
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
# Stems and downloaded audio land in <project root>/jobs on the
|
|
# host so you can grab them without going through the container.
|
|
- ../jobs:/app/jobs
|
|
# Demucs model weights (~170 MB) survive container rebuilds.
|
|
- stemdeck-cache:/cache
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
stemdeck-cache:
|