forked from pierre-emmanuelJ/iptv-proxy
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (47 loc) · 1.61 KB
/
docker-compose.yml
File metadata and controls
47 lines (47 loc) · 1.61 KB
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"
services:
iptv-proxy:
build:
context: .
dockerfile: Dockerfile
healthcheck:
test: wget --no-verbose --tries=1 --spider https://1.1.1.1 || exit 1
interval: 5m # Default: 30s
timeout: 15s # Default: 30s
retries: 1 # Default: 3
start_period: 5s # Default: 0s
start_interval: 10s # Default: 5s
volumes:
# If your are using local m3u file instead of m3u remote file
# put your m3u file in this folder
- ./iptv:/root/iptv
container_name: "iptv-proxy"
restart: on-failure
ports:
# have to be the same as ENV variable PORT
- 8080:8080
environment:
# if you are using m3u remote file
# M3U_URL: https://example.com/iptvfile.m3u
M3U_URL: /root/iptv/iptv.m3u
# Port to expose the IPTVs endpoints
PORT: 8080
# Hostname or IP to expose the IPTVs endpoints (for machine not for docker)
HOSTNAME: localhost
GIN_MODE: release
## Xtream-code proxy configuration
XTREAM_USER: xtream_user
XTREAM_PASSWORD: xtream_password
XTREAM_BASE_URL: "http://example.tv:8080"
##### UNSAFE AUTH TODO ADD REAL AUTH
#will be used for m3u and xtream auth poxy
USER: test
PASSWORD: testpassword
# ---- Additional debugging options ----
#DEBUG_LOGGING: true
# Save the IPTV Provider responses to this location
#CACHE_FOLDER: /root/iptv/cache/
# Default to using Advanced parsing. Disable it with:
#USE_XTREAM_LEGACY_PARSING: true
# ERROR_DETAIL_LEVEL values: none, simple (default), full
#ERROR_DETAIL_LEVEL: simple