adaptive-rektnetwork/docker-compose.yml

50 lines
1.5 KiB
YAML
Raw Normal View History

2017-08-07 09:38:02 +00:00
version: "3.1"
volumes:
published:
networks:
web_front:
external: true
services:
ffmpeg:
build: images/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://time.streaminginter.net"
2017-08-07 09:38:02 +00:00
command: /usr/local/bin/ffmpeg-hls
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