init commit

This commit is contained in:
mk
2026-02-15 00:47:12 -03:00
commit 0951f21e8e
21 changed files with 408 additions and 0 deletions

3
streaming/.env.example Normal file
View File

@@ -0,0 +1,3 @@
RS_USERNAME=admin
RS_PASSWORD=changeme
TZ=America/Sao_Paulo

10
streaming/README.md Normal file
View File

@@ -0,0 +1,10 @@
No config files, all is done via websites for these.
Due to them both using RTPM servers, datarhei restreamer's has been moved to external port 1936
# Owncast
Self hosted livestreaming, all configuration done by https://<OWNCAST>/admin
# Datarhei restreamer
Multi-streaming server, configure OBS to point to it and from there you can re-stream to however many websites you wish.

View File

@@ -0,0 +1,41 @@
version: "3"
services:
restreamer:
image: datarhei/restreamer
container_name: restreamer
ports:
- 1936:1935
- 8080:8080
networks:
- frontend
volumes:
- "./Datarhei-restreamer/db:/restreamer/db"
environment:
- RS_USERNAME=${RS_USERNAME}
- RS_PASSWORD=${RS_PASSWORD}
- RS_LOGLEVEL=4
- RS_TIMEZONE=${TZ}
- RS_SNAPSHOT_INTERVAL=1m
deploy:
replicas: 1
restart_policy:
condition: any
delay: 5s
window: 10s
owncast:
image: elestio/owncast:latest
container_name: owncast
user: 0:0
restart: always
volumes:
- "./Owncast/:/app/"
devices:
- /dev/dri:/dev/dri
shm_size: 256m
ports:
- "5050:8080"
- "1935:1935"
networks:
frontend: