Offload time server functionality to https://time.streaminginter.net.

master
Icedream 2017-08-07 16:18:07 +02:00
parent 14c683a63a
commit beb43408d1
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
4 changed files with 1 additions and 5 deletions

View File

@ -25,7 +25,7 @@ services:
CHANNEL_ID: rektnetwork CHANNEL_ID: rektnetwork
FFMPEG_ARGS: -async 2 FFMPEG_ARGS: -async 2
FFMPEG_LOG_LEVEL: debug FFMPEG_LOG_LEVEL: debug
UTC_TIMING_URL: "https://direct.streaminginter.net/adapt/rektnetwork/time.txt" UTC_TIMING_URL: "https://time.streaminginter.net"
command: /usr/local/bin/ffmpeg-hls command: /usr/local/bin/ffmpeg-hls
caddy: caddy:

View File

@ -9,8 +9,6 @@ gzip {
ext .m3u8 .mpd .xml ext .m3u8 .mpd .xml
} }
templates /time.txt
push dash.mpd *.hdr push dash.mpd *.hdr
push hls.m3u8 *.m3u8 push hls.m3u8 *.m3u8

View File

@ -1,7 +1,6 @@
FROM icedream/caddy FROM icedream/caddy
COPY Caddyfile / COPY Caddyfile /
COPY time.txt /data/
WORKDIR / WORKDIR /
VOLUME ["/data/"] VOLUME ["/data/"]

View File

@ -1 +0,0 @@
{{.Now "2006-01-02T15:04:05Z07:00"}}