fix: nginx-rtmp needs CHOWN cap + depends_on archive-worker for DNS

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-15 09:48:10 -07:00
parent 9416ddfb23
commit 35bc2b369b
2 changed files with 7 additions and 0 deletions

View File

@ -43,6 +43,10 @@ services:
- ALL
cap_add:
- NET_BIND_SERVICE
- CHOWN
- DAC_OVERRIDE
- SETGID
- SETUID
labels:
- "traefik.enable=true"
- "traefik.http.routers.rtube-hls.rule=Host(`rtube.online`) && PathPrefix(`/hls`)"
@ -52,6 +56,8 @@ services:
networks:
- traefik-public
- rtube-internal
depends_on:
- archive-worker
archive-worker:
build:

View File

@ -25,6 +25,7 @@ rtmp {
hls_cleanup on;
# On stream end - trigger archive
# Use service name (Docker Compose DNS)
on_publish_done http://archive-worker:8081/archive;
# Allow publishing from anywhere (use stream key for security)