/pathfinder-docker

Deploying Pathfinder with Docker.

Primary LanguageShell

Dockerfile for running Pathfinder, the mapping tool for EVE Online.

Installation

  1. Clone docker-compose.yml file (wget https://raw.githubusercontent.com/KryptedGaming/pathfinder-docker/master/docker-compose.yml)
  2. Clone the example .env file (wget https://raw.githubusercontent.com/KryptedGaming/pathfinder-docker/master/.env)
  3. Fill out the .env file and start up your instance with docker-compose up -d

You may need to create the databases for your MYSQL image if using a fresh compose.

  • sudo docker-compose exec db /bin/bash
  • mysql -uroot -p
  • CREATE DATABASE pathfinder;
  • CREATE DATABASE eve_universe;

Setup

  1. Navigate to your Pathfinder page, go through setup.
  2. Create the databases using the database controls in the setup page.
  3. Import static database.
  4. Import from ESI at the Cronjob section of the setup page.
  5. Build Systems data index under Build search index in the Administration section of the setup page.
  6. Restart your container with SETUP=False.
  7. You're live!

Importing static database

  1. wget https://github.com/exodus4d/pathfinder/raw/master/export/sql/eve_universe.sql.zip
  2. unzip eve_universe.sql.zip
  3. sudo docker cp eve_universe.sql "$(sudo docker-compose ps | grep db | awk '{ print $1}'):/eve_universe.sql"
  4. sudo docker-compose exec db sh -c 'exec mysql -uroot -p"$MYSQL_ROOT_PASSWORD" eve_universe < /eve_universe.sql'
  5. Optional rm eve_universe.sql*
  6. Complete Setup.

Feel free to contribute, there are many improvements that still need to be made.