Commit 67cd5165 authored by dreamer's avatar dreamer
Browse files

add traefik for nginx-rtmp and disable icecast_mp3()

parent 9953c04e
version: '3'
services:
nginx-rtmp:
#image: alfg/nginx-rtmp:latest
#image: 9313fe22d925
build:
context: .
dockerfile: nginx-rtmp.dockerfile
networks:
- web
restart: unless-stopped
ports:
- 1935:1935
- 8080:80
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- /mnt/radio:/mnt/radio
labels:
- traefik.enable=true
- traefik.http.routers.nginx-rtmp.rule=Host(`hlsorigin.laglab.org`)
- traefik.http.routers.nginx-rtmp.entryPoints=web
- traefik.http.routers.nginx-rtmp.middlewares=redirect-https-nginx-rtmp
- traefik.http.middlewares.redirect-https-nginx-rtmp.redirectscheme.scheme=https
- traefik.http.routers.nginx-rtmp_ssl.rule=Host(`hlsorigin.laglab.org`)
- traefik.http.routers.nginx-rtmp_ssl.entrypoints=websecure
- traefik.http.routers.nginx-rtmp_ssl.tls.certresolver=myresolver
- traefik.http.services.nginx-rtmp.loadbalancer.server.port=80
liquidsoap:
......@@ -25,3 +36,8 @@ services:
- 9051:9051
volumes:
- /mnt/radio:/mnt/radio
networks:
web:
external: true
......@@ -108,5 +108,5 @@ icecast_opus = output.icecast(
icecast_ogg(full, mount="pap-ls1.ogg", host="deathstar.puscii.nl", port=8000, password="icecold")
icecast_mp3(full, mount="pap-ls1.mp3", host="deathstar.puscii.nl", port=8000, password="icecold")
# icecast_mp3(full, mount="pap-ls1.mp3", host="deathstar.puscii.nl", port=8000, password="icecold")
icecast_opus(full,mount="pap-ls1.opus", host="deathstar.puscii.nl", port=8000, password="icecold")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment