Add example 'docker-compose.yml'

This commit is contained in:
Luca 2020-09-20 01:09:42 +02:00
parent 343b3c7ff5
commit 86702e980a
1 changed files with 22 additions and 0 deletions

22
docker-compose.yml Normal file
View File

@ -0,0 +1,22 @@
version: '3.8'
services:
# endpoint for speakers, core
endpoint:
image: nginx-rtmp:alpine3.12
restart: always
volumes:
- /srv/streaming/streams:/etc/nginx/streams.d:ro
# stream relay, edge
relay:
image: nginx-rtmp:alpine3.12
restart: always
volumes:
- /srv/streaming/streams:/etc/nginx/streams.d:ro
- /srv/streaming/conf:/etc/nginx/conf.d:ro
# Playout website
playout:
image: stream-playout:stable-alpine
restart: always