This commit is contained in:
Joey Hafner 2023-03-20 13:26:18 -07:00
parent 438686cb40
commit 09448b1036
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1 @@
DOCKER_DATA=/home/joey/data/owncast

View File

@ -0,0 +1,33 @@
version: "3"
services:
owncast:
image: gabekangas/owncast:latest
container_name: owncast_owncast
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
deploy:
resources:
limits:
memory: 6G
networks:
- web
restart: "no"
volumes:
- $DOCKER_DATA:/app/data
ports:
- 1935:1935
labels:
- traefik.http.routers.owncast.rule=Host(`owncast.jafner.net`)
- traefik.http.routers.owncast.tls.certresolver=lets-encrypt
#- traefik.http.routers.owncast.middlewares=traefik-forward-auth-privileged@file
- traefik.http.services.owncast.loadbalancer.server.port=8080
networks:
web:
external: true