pathfinder-docker
pathfinder-docker copied to clipboard
Deploying Pathfinder with Docker.
Dockerfile for running Pathfinder, the mapping tool for EVE Online.
:heart: Added Websocket server support.
Installation
- Clone
docker-compose.yml
file
sudo wget https://raw.githubusercontent.com/KryptedGaming/pathfinder-docker/master/docker-compose.yml
- Clone the example
.env
file
sudo wget https://raw.githubusercontent.com/KryptedGaming/pathfinder-docker/master/.env
- Fill out the
.env
file and start up your instance
sudo 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
- Navigate to your Pathfinder page, go through setup.
- Create the databases using the database controls in the setup page.
- Import static database.
- Import from ESI at the Cronjob section of the setup page.
- Build Systems data index under
Build search index
in the Administration section of the setup page. - Restart your container with
SETUP=False
. - You're live!
Importing static database
-
sudo wget https://github.com/exodus4d/pathfinder/raw/master/export/sql/eve_universe.sql.zip
-
sudo unzip eve_universe.sql.zip
-
sudo docker cp eve_universe.sql "$(sudo docker-compose ps | grep db | awk '{ print $1}'):/eve_universe.sql"
-
sudo docker-compose exec db sh -c 'exec mysql -uroot -p"$MYSQL_ROOT_PASSWORD" eve_universe < /eve_universe.sql'
-
Optional
sudo rm eve_universe.sql*
- Complete Setup.
Feel free to contribute, there are many improvements that still need to be made.