-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
59 lines (57 loc) · 1.99 KB
/
docker-compose.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
48
49
50
51
52
53
54
55
56
57
58
59
version: "3"
services:
manager:
build:
context: ./manager/
container_name: "IPTV-Manager"
image: iptv-manager
ports:
- 8088:8088/tcp
volumes:
- ./volumes/static/:/app/staticfiles/
- ./volumes/database/:/app/database/
environment:
# - ALLOWED_HOSTS: "['*']"
# - TIME_ZONE=UTC
# - DJANGO_SUPERUSER_USERNAME=admin
# - DJANGO_SUPERUSER_EMAIL=admin@admin.com
# - DJANGO_SUPERUSER_PASSWORD=password
- SECRET_KEY=
# - DEBUG=True
# - DEBUGLEVEL=DEBUG
# - SOCKET_ADDRESS="0.0.0.0"
# - MANAGEMENT_URL=http://localhost
# - INTERNAL_MANAGEMENT_PORT=8088
# - EXTERNAL_MANAGEMENT_PORT=8088
# - INTERNAL_TIMEOUT=1
# - ALLOWED_URL_SCHEMES="['http', 'https', 'mmsh', 'mmst', 'mmsu', 'mms', 'rtmp', 'rtsp']"
# - BLOCKED_PATH_TYPES="['.m3u', '.m3u8', '.mpd']"
# - BLOCKED_URL_REGEXS="['output=playlist.m3u[8]?', 'www.youtube.com/']"
# - USER_AGENT_STRING="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36)"
# - PLAYLIST_TIMEOUT=120
# - EPG_TIMEOUT=120
# - ICON_TIMEOUT=15
restart: unless-stopped
proxy:
build:
context: ./proxy/
container_name: "IPTV-Proxy"
image: iptv-proxy
ports:
- 8089:8089/tcp
environment:
# - DEBUG=True
# - SOCKET_ADDRESS=0.0.0.0
- REPORTING_URL=http://manager # Match your management container's name if running in the same stack
# - REPORTING_PORT=8088
# - REPORTING_TIMEOUT=5
# - PROXY_NAME=IPTV-Proxy
- INTERNAL_PROXY_URL=http://proxy # Match your proxy container's name if running in the same stack
# - INTERNAL_PROXY_PORT=8089
# - EXTERNAL_PROXY_URL=http://localhost
# - EXTERNAL_PROXY_PORT=8089
# - USER_AGENT_STRING=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36)
# - STREAM_TIMEOUT=15
links:
- manager
restart: unless-stopped