obs-r2-uploader/streaming/docker-compose.yml

21 lines
417 B
YAML

version: '3.8'
services:
nginx-rtmp:
image: tiangolo/nginx-rtmp:latest
container_name: obs-streaming-server
ports:
- "1935:1935" # RTMP
- "8081:8080" # HLS/HTTP
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./hls:/tmp/hls
- ./scripts:/usr/local/bin:ro
restart: unless-stopped
networks:
- streaming
networks:
streaming:
driver: bridge