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

77 lines
1.8 KiB
YAML
Raw Normal View History

2021-02-28 17:04:41 +00:00
version: "3.8"
volumes:
metadatabase:
library:
driver_opts:
2021-10-12 18:32:24 +00:00
type: "${LIBRARY_VOLUME_TYPE:-local}"
o: "${LIBRARY_VOLUME_OPTIONS:-defaults}"
device: "${LIBRARY_VOLUME_DEVICE:-/var/tmp/whatever}"
2021-02-28 17:04:41 +00:00
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
tunaposter:
image: icedream/tunaposter
restart: always
build:
context: .
dockerfile: tunaposter.Dockerfile
# HACK - haven't quite figured out the ports SRT/NDI use
network_mode: host
command:
2021-10-12 18:32:24 +00:00
- '/usr/local/bin/tunaposter'
2021-02-28 17:04:41 +00:00
# tuna source URL
2021-10-12 18:32:24 +00:00
- '${TUNA_SOURCE_URL:-http://localhost}'
2021-02-28 17:04:41 +00:00
# liquidsoap metadata API URL
2021-10-12 18:32:24 +00:00
- 'http://127.0.0.1:21338'
2021-02-28 17:04:41 +00:00
deploy:
resources:
limits:
cpus: "1"
memory: 32M
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