2021-09-15 07:51:58 +02:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
liquidsoap:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: docker/Dockerfile.liquidsoap
|
|
|
|
volumes:
|
|
|
|
- ./docker/run.liq:/run.liq
|
2021-09-15 21:53:57 +02:00
|
|
|
- ./docker/run.sh:/run.sh
|
2021-09-15 07:51:58 +02:00
|
|
|
- rec:/rec
|
|
|
|
devices:
|
|
|
|
- /dev/snd:/dev/snd
|
2021-09-15 21:53:57 +02:00
|
|
|
entrypoint: /run.sh
|
2021-09-15 07:51:58 +02:00
|
|
|
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:
|