52 lines
1.6 KiB
YAML
52 lines
1.6 KiB
YAML
|
version: "3.1"
|
||
|
|
||
|
volumes:
|
||
|
published:
|
||
|
|
||
|
networks:
|
||
|
web_front:
|
||
|
external: true
|
||
|
|
||
|
services:
|
||
|
ffmpeg:
|
||
|
build: images/ffmpeg
|
||
|
#build: /srv/nfs4/library/ffmpeg
|
||
|
restart: always
|
||
|
volumes:
|
||
|
- published:/var/out
|
||
|
working_dir: /var/out
|
||
|
environment:
|
||
|
OUTPUT_MP3_BITRATES: 320k 192k 128k 72k 56k
|
||
|
OUTPUT_AAC_BITRATES: 320k 192k 128k 96k
|
||
|
OUTPUT_AAC_HE_BITRATES: 64k 48k
|
||
|
OUTPUT_AAC_HEV2_BITRATES: 48k 24k
|
||
|
OUTPUT_OPUS_BITRATES: 320k 192k 128k 64k 48k 24k
|
||
|
OUTPUT_VORBIS_BITRATES: 320k 192k 128k 64k 48k
|
||
|
CHANNEL_ID: rektnetwork
|
||
|
FFMPEG_ARGS: -async 2
|
||
|
FFMPEG_LOG_LEVEL: debug
|
||
|
UTC_TIMING_URL: "https://direct.streaminginter.net/adapt/rektnetwork/time.txt"
|
||
|
command: /usr/local/bin/ffmpeg-hls
|
||
|
|
||
|
caddy:
|
||
|
#image: icedream/caddy
|
||
|
build: images/caddy
|
||
|
volumes:
|
||
|
- published:/data:ro
|
||
|
#ports:
|
||
|
# - "10080:80"
|
||
|
labels:
|
||
|
oss.dreamnetwork.proxy.target.tls: "1"
|
||
|
oss.dreamnetwork.proxy.target.tls.cert: /etc/letsencrypt/live/streaminginter.net/fullchain.pem
|
||
|
oss.dreamnetwork.proxy.target.tls.key: /etc/letsencrypt/live/streaminginter.net/privkey.pem
|
||
|
oss.dreamnetwork.proxy.target.allowhttp: "1"
|
||
|
oss.dreamnetwork.proxy.target.host: "http://direct.streaminginter.net, https://direct.streaminginter.net"
|
||
|
oss.dreamnetwork.proxy.target.path: "/adapt/rektnetwork/"
|
||
|
oss.dreamnetwork.proxy.source.port: "80"
|
||
|
oss.dreamnetwork.proxy.source.proto: "http"
|
||
|
oss.dreamnetwork.proxy.source.trimpath: "/adapt/rektnetwork"
|
||
|
expose:
|
||
|
- "80"
|
||
|
networks:
|
||
|
- web_front
|