move hosts and cert update to run

This commit is contained in:
Cory Forsstrom
2020-02-26 17:34:44 -08:00
parent cb4cdee360
commit 2d5b7ab7d2
4 changed files with 28 additions and 12 deletions

18
run.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
export IP=$(getent ahostsv4 freegamez.ga | awk '{ print $1 }' | head -1)
docker run -d \
--name=xteve_lazystream \
--log-opt max-size=10m \
--log-opt max-file=3 \
-e TZ="America/Los_Angeles" \
-v /mnt/user/appdata/xteve/:/root/.xteve:rw \
-v /mnt/user/appdata/xteve/_config/:/config:rw \
-v /mnt/user/appdata/xteve/_guide2go/:/guide2go:rw \
-v /mnt/user/appdata/xteve/playlists/:/playlists:rw \
-v /tmp/xteve/:/tmp/xteve:rw \
--add-host="mf.svc.nhl.com:$IP" \
--add-host="playback.svcs.mlb.com:$IP" \
--add-host="mlb-ws-mf.media.mlb.com:$IP" \
taylorbourne/xteve_lazystream