47 lines
797 B
YAML
47 lines
797 B
YAML
|
version: "3"
|
||
|
|
||
|
services:
|
||
|
liquidsoap:
|
||
|
build:
|
||
|
context: .
|
||
|
dockerfile: docker/Dockerfile.liquidsoap
|
||
|
volumes:
|
||
|
- ./docker/run.liq:/run.liq
|
||
|
- ./docker/ror.sh:/ror.sh
|
||
|
- rec:/rec
|
||
|
devices:
|
||
|
- /dev/snd:/dev/snd
|
||
|
entrypoint: /run.liq
|
||
|
depends_on:
|
||
|
- storageprepare
|
||
|
|
||
|
storage:
|
||
|
image: nginx
|
||
|
volumes:
|
||
|
- rec:/var/www/rec
|
||
|
- ./docker/storage.conf:/etc/nginx/conf.d/default.conf:ro
|
||
|
ports:
|
||
|
- 18080:80
|
||
|
depends_on:
|
||
|
- storageprepare
|
||
|
|
||
|
storageprepare:
|
||
|
image: bash
|
||
|
volumes:
|
||
|
- rec:/rec
|
||
|
command: chmod 777 /rec
|
||
|
|
||
|
techrec:
|
||
|
build: .
|
||
|
volumes:
|
||
|
- .:/src/techrec
|
||
|
- ./docker/output:/src/output
|
||
|
ports:
|
||
|
- 8000:8000
|
||
|
depends_on:
|
||
|
- liquidsoap
|
||
|
- storage
|
||
|
|
||
|
volumes:
|
||
|
rec:
|