2026-04-23 23:40:34 -03:00
|
|
|
services:
|
|
|
|
|
decap-stream:
|
2026-04-26 03:02:31 -03:00
|
|
|
image: ghcr.io/riguettodev/decap-stream:latest
|
2026-04-23 23:40:34 -03:00
|
|
|
container_name: decap-stream
|
|
|
|
|
restart: unless-stopped
|
2026-04-26 03:02:31 -03:00
|
|
|
shm_size: "1gb"
|
2026-04-24 23:08:42 -03:00
|
|
|
security_opt:
|
|
|
|
|
- seccomp:unconfined
|
2026-04-27 23:44:02 -03:00
|
|
|
# gpus: all # Uncomment for NVIDIA (nvenc) — requires nvidia-container-toolkit on host
|
|
|
|
|
# devices:
|
|
|
|
|
# - /dev/dri:/dev/dri # Uncomment for Intel/AMD (vaapi or qsv)
|
2026-04-23 23:40:34 -03:00
|
|
|
environment:
|
|
|
|
|
TZ: America/Sao_Paulo
|
2026-04-28 10:34:04 -03:00
|
|
|
# AUTH_USER: admin # If set (with AUTH_PASS), enables login
|
2026-04-26 03:02:31 -03:00
|
|
|
# AUTH_PASS: secure_password
|
2026-04-28 10:34:04 -03:00
|
|
|
DEFAULT_PURE_MODE: false # Pure mode: raw .m3u8 / minimal player (no UI chrome)
|
|
|
|
|
DEFAULT_OPEN_NEW_TAB: false # Open player buttons in a new tab
|
|
|
|
|
DEFAULT_RELOAD_CLIENT: false # Auto-reload the client player page
|
|
|
|
|
DEFAULT_RELOAD_CLIENT_TIME: 2 # Client auto-reload interval in minutes
|
|
|
|
|
# FFMPEG_HWACCEL: nvenc # GPU encoding: nvenc (NVIDIA), vaapi / qsv (Intel/AMD)
|
|
|
|
|
# LD_LIBRARY_PATH: /usr/lib/wsl/lib # WSL2 + nvenc only
|
2026-04-23 23:40:34 -03:00
|
|
|
ports:
|
2026-04-26 03:02:31 -03:00
|
|
|
- "3000:3000" # Web UI — main entry point
|
2026-04-28 10:34:04 -03:00
|
|
|
- "127.0.0.1:6080:6080" # noVNC — localhost only; expose via tunnel/VPN for remote access
|
|
|
|
|
# - "1935:1935" # RTMP — expose only for external ingest (e.g. OBS)
|
2026-04-26 03:02:31 -03:00
|
|
|
# - "8888:8888" # HLS — internal only; proxied through Next.js at /api/hls/
|
2026-04-23 23:40:34 -03:00
|
|
|
volumes:
|
2026-04-28 10:34:04 -03:00
|
|
|
- streams:/app/data/streams # Persistent: streams.json, chrome profiles, thumbnails
|
|
|
|
|
# - ./logs:/app/data/logs # Optional: mount for external log access
|
2026-04-27 23:44:02 -03:00
|
|
|
# - /usr/lib/wsl/lib:/usr/lib/wsl/lib:ro # WSL2 + nvenc: exposes libnvidia-encode.so.1
|
2026-04-23 23:40:34 -03:00
|
|
|
|
|
|
|
|
volumes:
|
2026-04-28 10:34:04 -03:00
|
|
|
streams:
|