Robpol86 / makemkv

Automated headless DVD/Bluray backups with MakeMKV from Docker.
https://hub.docker.com/r/robpol86/makemkv/
MIT License
28 stars 5 forks source link

Beta key environment variable #11

Closed TonyBrobston closed 6 years ago

TonyBrobston commented 6 years ago

Throwing this in as another option. Instead of dynamically going and pulling the beta key, we could allow the user to pass BETA_KEY in as an environment variable.

I built an image and tested adding -e BETA_KEY="T-rTYSOM9ktvR0Fihn9_2zbORtGKYXUsMtMoraj2fy_wXlDPrx6EX6Xk56opCsOK9bJl" to my docker run command. I then did a docker exec into the container and did a cat on /home/mkv/.MakeMKV/setting.conf, the app_key was there and looked to be in the correct format.