league-prod-toolkit icon indicating copy to clipboard operation
league-prod-toolkit copied to clipboard

[ Update Docs ] Update the Installation.md on Wiki to contain install guide for Docker Image.

Open Coow opened this issue 1 year ago • 1 comments

Install Prod-Toolkit with Docker

  1. Run docker run -d --name='LeagueProdToolkit' -p '3003:3003' -v LPT:'/app/modules' 'eirikskarding/leagueprodtoolkit:latest'
  2. Wait for DataDragon download and unpacking to finish.
  3. Connect via <hostIP>:3003

By default every module is installed from the Docker Image. If you want to remove some of the modules, you can delete the folders in the Docker Volume "LPT""

To edit the configuration file, edit the config.json file in the "plugin-config" module. By default it's avaliable in the Docker Volume here: /var/lib/docker/volumes/LPT/_data/plugin-config/config.json Here you can change the server region (EUW1 by default). And you can add your Riot Games API Key. These steps are normally setup when running install.bat.

If you would like to enable authentication if you want to expose the container to the internet.

  1. Run docker exec -it LeagueProdToolkit sh in your terminal.
  2. In the Docker Container, run node /app/dist/scripts/auth.js
  3. Press "y" to enable or "n" to disable and then Enter.
  4. Exit the container by running exit
  5. Restart the Docker Container by running: docker restart LeagueProdToolkit
  6. Run docker logs LeagueProdToolkit The logs should display the key needed to log into the Web GUI
  7. Refresh the Web GUI and enter your API Key.

Coow avatar Mar 17 '23 17:03 Coow

Thanks for the suggestion/creating the image and the docs :) We're looking into automatically generating an up to date docker image for each release version, we'll update the docs accordingly when ready.

sdomi4 avatar Mar 22 '23 08:03 sdomi4