Skip to content

GQuantrill/pathfinder-docker

 
 

Repository files navigation

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

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. 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.

So why the fork?

Purely as if you need to import maps, they can be fairly large. For example, there are 109 system in the Catch region. Importing this date results too many input variables in the header for php to deal with. The php.ini therefore has been cloned and you can alter the max_input_vars to suit the needs of importing. x

probably worth nothing that if the php version changes, you might need to redirect the volume.

About

Deploying Pathfinder with Docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 77.4%
  • Dockerfile 22.6%