Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Coow opened this issue Mar 17, 2023 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@Coow
Copy link

Coow commented Mar 17, 2023

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 Coow added the enhancement New feature or request label Mar 17, 2023
@sdomi4
Copy link
Contributor

sdomi4 commented Mar 22, 2023

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 sdomi4 added the documentation Improvements or additions to documentation label Mar 22, 2023
@sdomi4 sdomi4 self-assigned this Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants