32 lines
1.0 KiB
YAML
32 lines
1.0 KiB
YAML
services:
|
|
simply-dvb:
|
|
build: .
|
|
image: simply-dvb:latest
|
|
container_name: simply-dvb
|
|
restart: unless-stopped
|
|
# Host networking makes the server easy to reach for TVs on the LAN and keeps real client addresses (ACL).
|
|
# Alternatively remove network_mode and uncomment "ports".
|
|
network_mode: host
|
|
# ports:
|
|
# - "9980:9980" # panel
|
|
# - "9981:9981" # streams (tvheadend-compatible)
|
|
# - "9982:9982" # HTSP
|
|
devices:
|
|
- /dev/dvb:/dev/dvb
|
|
# - /dev/dri:/dev/dri # ffmpeg hardware acceleration (VAAPI)
|
|
group_add:
|
|
# GID of the "video" group on the host (check: getent group video)
|
|
- "${VIDEO_GID:-44}"
|
|
environment:
|
|
TZ: ${TZ:-Etc/UTC}
|
|
RUST_LOG: simply_dvb=info,warn
|
|
SIMPLY_DVB_LISTEN: 0.0.0.0:9980
|
|
SIMPLY_DVB_STREAM_LISTEN: 0.0.0.0:9981
|
|
SIMPLY_DVB_HTSP_LISTEN: 0.0.0.0:9982
|
|
volumes:
|
|
- simply-dvb-data:/var/lib/simply-dvb
|
|
# - /srv/recordings:/recordings # set the recordings directory in the panel to /recordings
|
|
|
|
volumes:
|
|
simply-dvb-data:
|