forked from zom-bi/zomstream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.default.yml
47 lines (43 loc) · 1.27 KB
/
docker-compose.default.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: '3'
# networks:
# configuration for external traefik network
# web:
# external:
# name: proxy_web
services:
auth: # PSK Authentication Service
image: python:3
user: nobody
command: python /code/auth.py
volumes:
- "./auth:/code"
# set the PSK Password for the Auth Daemon here
environment:
- password=P4ssW0rD
frontend: # container for python frontend
build: frontend/.
command: uwsgi uwsgi.ini
volumes:
- "./config/frontend/config.yml:/code/config.yml:ro"
- "./config/frontend/uwsgi.ini:/code/uwsgi.ini:ro"
nginx-rtmp: # nginx rtmp server
build: ./docker-nginx-rtmp/.
ports:
- "1935:1935"
# if there is no proxy in front of this set your frontend port here
# if you are using traefik instead set the configuration labels below
- "8080:8080"
volumes:
- "./config/nginx-rtmp:/usr/local/nginx/conf:ro"
- "./rec:/video/rec"
- "./recunlisted:/video/recunlisted"
depends_on:
- auth
- frontend
# these labels are for automatic configuration of traefik
# labels:
# - "traefik.enable=true"
# - "traefik.backend=stream"
# - "traefik.frontend.rule=Host: stream.zom.bi"
# - "traefik.docker.network=proxy_web"
# - "traefik.port=8080"