Skip to content

Instantly share code, notes, and snippets.

@usurageha
Last active May 23, 2022 11:30
Show Gist options
  • Save usurageha/91c4c739ec5ab64b2a7078d7b815d6e3 to your computer and use it in GitHub Desktop.
Save usurageha/91c4c739ec5ab64b2a7078d7b815d6e3 to your computer and use it in GitHub Desktop.
docker-mirakurun-epgstation-pi4-setup.sh
#!/bin/sh
# echo 'SUBSYSTEM=="vchiq",GROUP="video",MODE="0666"' | sudo tee /etc/udev/rules.d/10-vchiq-permissions.rules
git clone https://github.com/l3tnun/docker-mirakurun-epgstation.git
cd docker-mirakurun-epgstation
#cp docker-compose-sample.yml docker-compose.yml
curl -o docker-compose.yml https://gist.githubusercontent.com/usurageha/fd8ec48df649162de041b0cc524f708a/raw/c29a95054a05fee726faad18040b2cd05e676112/docker-compose-sample.yml.pi4
curl -o epgstation/pi4.Dockerfile https://gist.githubusercontent.com/usurageha/139287a47add509e1ba1f23d44654120/raw/5c2c32aa62144ac7dc73637a94636e60508d1e63/pi4.Dockerfile
#cp epgstation/config/enc.js.template epgstation/config/enc.js
curl -o epgstation/config/enc.js https://gist.githubusercontent.com/usurageha/ba0642ade0457f2a2f82290cde346ed7/raw/26cbe536ee034f4e0264cdb5abbbeffa2c0ab42a/enc.js.template.pi4
#cp epgstation/config/config.yml.template epgstation/config/config.yml
curl -o epgstation/config/config.yml https://gist.githubusercontent.com/usurageha/af941abe8f6f119e5aab207a0af50f42/raw/3fff538dd72c223cbd2fe9951fe9ba380646d788/config.yml.pi4
cp epgstation/config/operatorLogConfig.sample.yml epgstation/config/operatorLogConfig.yml
cp epgstation/config/epgUpdaterLogConfig.sample.yml epgstation/config/epgUpdaterLogConfig.yml
cp epgstation/config/serviceLogConfig.sample.yml epgstation/config/serviceLogConfig.yml
docker-compose run --rm -e SETUP=true mirakurun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment