techrec/docker-compose.yaml

50 lines
838 B
YAML
Raw Permalink Normal View History

2021-09-15 07:51:58 +02:00
version: "3"
services:
liquidsoap:
build:
context: .
dockerfile: docker/Dockerfile.liquidsoap
volumes:
- ./docker/run.liq:/run.liq
- ./docker/run.sh:/run.sh
2021-09-15 07:51:58 +02:00
- rec:/rec
devices:
- /dev/snd:/dev/snd
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
2021-09-17 11:06:05 +02:00
- rec:/rec
2021-09-15 07:51:58 +02:00
- ./docker/output:/src/output
- db:/src/db
2021-09-15 07:51:58 +02:00
ports:
- 8000:8000
depends_on:
- liquidsoap
- storage
volumes:
rec:
db: