1
0
Fork 0
livestream-tools/icedreammusic/docker-compose.yml

58 lines
1.3 KiB
YAML

version: "3.8"
volumes:
metadatabase:
library:
driver_opts:
type: "${LIBRARY_VOLUME_TYPE:-local}"
o: "${LIBRARY_VOLUME_OPTIONS:-defaults}"
device: "${LIBRARY_VOLUME_DEVICE:-/var/tmp/whatever}"
services:
liquidsoap:
image: icedream/liquidsoap
build: liquidsoap/
# HACK - haven't quite figured out the ports SRT/NDI use
network_mode: host
# ports:
# - "8050:8050"
# - "8051:8051"
# - "9000:9000"
# - "9000:9000/udp"
stop_signal: SIGTERM
restart: always
devices:
- /dev/dri:/dev/dri
deploy:
resources:
limits:
cpus: "2"
memory: 768M
ndi-to-srt:
image: icedream/ndi-to-srt
restart: always
build: ndi-to-srt
# HACK - haven't quite figured out the ports SRT/NDI use
network_mode: host
deploy:
resources:
limits:
cpus: "1"
memory: 64M
metacollector:
image: icedream/metacollector
restart: always
build: metacollector/
ports:
- "8080:8080"
environment:
METACOLLECTOR_DATABASE_URL: /database/app.db
METACOLLECTOR_LIBRARY_PATHS: /library
METACOLLECTOR_SERVER_ADDRESS: ":8080"
volumes:
- library:/library
- metadatabase:/database
deploy:
resources:
limits:
cpus: "2"
memory: 128M