-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathdocker-compose.example.yaml
More file actions
32 lines (28 loc) · 1.09 KB
/
Copy pathdocker-compose.example.yaml
File metadata and controls
32 lines (28 loc) · 1.09 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
services:
kptv-proxy:
image: ghcr.io/kpirnie/kptv-proxy:latest
#image: ghcr.io/kpirnie/kptv-proxy:dev
container_name: kptv_proxy
restart: unless-stopped
ports:
- WHATEVER_PORT_YOU_WANT_TO_USE:8080
volumes:
- ./settings/:/settings/
# local media — must be rw so .nfo sidecars and embedded tags can be written
#- /mnt/media:/media:rw
# to utilize ffmpeg, you must have it installed on your machine and add these 2 volumes
# make sure to change the path to where ffmpeg and ffprobe are located on your machine
#- /YOUR/PATH/TO/ffmpeg:/usr/local/bin/ffmpeg:ro
#- /YOUR/PATH/TO/ffprobe:/usr/local/bin/ffprobe:ro
# you'll also need to add your machines drivers
#- /usr/lib/x86_64-linux-gnu/dri:/usr/lib/x86_64-linux-gnu/dri:ro
# for hardware accelleration with ffpmeg
#devices:
# - /dev/dri:/dev/dri
# Health check
healthcheck:
test: [ "CMD", "curl", "-v", "http://127.0.0.1:8080/ping" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s