league-prod-toolkit
league-prod-toolkit copied to clipboard
[ Update Docs ] Update the Installation.md on Wiki to contain install guide for Docker Image.
Install Prod-Toolkit with Docker
- Run
docker run -d --name='LeagueProdToolkit' -p '3003:3003' -v LPT:'/app/modules' 'eirikskarding/leagueprodtoolkit:latest'
- Wait for DataDragon download and unpacking to finish.
- 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.
- Run
docker exec -it LeagueProdToolkit sh
in your terminal. - In the Docker Container, run
node /app/dist/scripts/auth.js
- Press "y" to enable or "n" to disable and then Enter.
- Exit the container by running
exit
- Restart the Docker Container by running:
docker restart LeagueProdToolkit
- Run
docker logs LeagueProdToolkit
The logs should display the key needed to log into the Web GUI - Refresh the Web GUI and enter your API Key.
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.