-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (45 loc) · 1.37 KB
/
Copy pathdocker-compose.yml
File metadata and controls
57 lines (45 loc) · 1.37 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
48
49
50
51
52
53
54
55
56
57
services:
hdhr-epg:
build:
context: .
dockerfile: Dockerfile
container_name: hdhr-epg-server
image: hdhomerun2xmltv:latest
restart: unless-stopped
ports:
- "8083:8083"
environment:
# HDHomeRun Configuration
HDHOMERUN_HOST: ${HDHOMERUN_HOST:-192.168.1.100}
# Server Configuration
WEB_PORT: 8083
NODE_ENV: production
# EPG Configuration
CRON_SCHEDULE: ${CRON_SCHEDULE:-0 3 * * *}
DAYS: ${DAYS:-7}
HOURS_INCREMENT: ${HOURS_INCREMENT:-3}
# Timezone
TZ: ${TZ:-America/Chicago}
# Feature Flags
RUN_ON_START: ${RUN_ON_START:-true}
ENABLE_DUMMY_PROGRAMMING: ${ENABLE_DUMMY_PROGRAMMING:-true}
# Dummy Programming Configuration
DUMMY_PROGRAM_TITLE: ${DUMMY_PROGRAM_TITLE:-No Information}
DUMMY_PROGRAM_DESC: ${DUMMY_PROGRAM_DESC:-No program information is currently available for {channel}.}
# File Paths
OUTPUT_DIR: /app/output
EPG_FILENAME: epg.xml
volumes:
# Persist EPG files
- ./output:/app/output
networks:
- hdhr-network
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://localhost:8083/health', (r) => process.exit(r.statusCode === 200 ? 0 : 1))"]
interval: 30s
timeout: 10s
start_period: 40s
retries: 3
networks:
hdhr-network:
driver: bridge