2021-07-24 01:38:24 +00:00
|
|
|
---
|
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
|
|
|
app:
|
2024-03-30 15:26:49 +00:00
|
|
|
image: gabekangas/owncast:0.1.2
|
2021-07-24 01:38:24 +00:00
|
|
|
networks:
|
|
|
|
- proxy
|
|
|
|
volumes:
|
|
|
|
- owncast:/app/data
|
|
|
|
deploy:
|
|
|
|
restart_policy:
|
|
|
|
condition: on-failure
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8080"
|
|
|
|
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
|
|
|
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
|
|
|
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
|
|
|
- "traefik.tcp.routers.${STACK_NAME}-rtmp.rule=HostSNI(`*`)"
|
2021-10-23 20:52:51 +00:00
|
|
|
- "traefik.tcp.routers.${STACK_NAME}-rtmp.entrypoints=peertube-rtmp"
|
|
|
|
- "traefik.tcp.routers.${STACK_NAME}-rtmp.service=${STACK_NAME}-rtmp"
|
2021-07-24 01:38:24 +00:00
|
|
|
- "traefik.tcp.services.${STACK_NAME}-rtmp.loadbalancer.server.port=1935"
|
2024-03-30 15:26:49 +00:00
|
|
|
- "coop-cloud.${STACK_NAME}.version=0.2.2+0.1.2"
|
2021-07-24 01:38:24 +00:00
|
|
|
# healthcheck:
|
|
|
|
# test: ["CMD", "curl", "-f", "http://localhost"]
|
|
|
|
# interval: 30s
|
|
|
|
# timeout: 10s
|
|
|
|
# retries: 10
|
|
|
|
# start_period: 1m
|
|
|
|
|
|
|
|
networks:
|
|
|
|
proxy:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
owncast:
|