-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (47 loc) · 1.72 KB
/
docker-compose.yml
File metadata and controls
47 lines (47 loc) · 1.72 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
services:
app:
build: .
container_name: ${CONTAINER_NAME:-iptv-app}
environment:
- HDHR_ADVERTISE_HOST=${HDHR_ADVERTISE_HOST}
# Use a single port setting; advertise the same port Plex will hit on the host
- HDHR_ADVERTISE_PORT=${APP_PORT}
- HDHR_SCHEME=${HDHR_SCHEME}
# Model number shown in Plex (default "HDHR3-US")
- HDHR_MODEL=${HDHR_MODEL:-HDHR3-US}
# Friendly name shown in Plex (default "IPTV HDHomeRun")
- HDHR_FRIENDLY_NAME=${HDHR_FRIENDLY_NAME:-IPTV HDHomeRun}
# Number of concurrent tuners to advertise (default 2 if not set)
- HDHR_TUNER_COUNT=${HDHR_TUNER_COUNT:-2}
# SSDP disabled by default (avoids multicast issues on macOS/most Linux hosts)
# Override with HDHR_DISABLE_SSDP=0 in .env if you want SSDP auto-discovery
- HDHR_DISABLE_SSDP=${HDHR_DISABLE_SSDP:-1}
# Set to 0 to disable the Fetch M3U button in the UI
- ALLOW_FULL_M3U_DOWNLOAD=${ALLOW_FULL_M3U_DOWNLOAD:-1}
ports:
# Host port is configurable via .env (APP_PORT). Container listens on 5005.
- "${APP_PORT:-5005}:5005"
# Port 1900 not exposed - SSDP can be enabled via web UI if needed
# Uncomment only if you want auto-discovery AND you're on Linux
# - "1900:1900/udp"
volumes:
- ./m3u_files:/app/m3u_files
- ./data:/app/data
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5005/"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
dns:
- 1.1.1.1
- 8.8.8.8
dns_search: []
extra_hosts:
- "host.docker.internal:host-gateway"