Easy to use docker-compose managed multi-container setup for running pathfinder
Forked from https://github.com/KryptedGaming/pathfinder-docker
This repository contains files for running Pathfinder within a docker-compose managed multi-container setup. To enable non-tech savy people to use this repository, there are administration scripts for tasks like starting, stopping and backups included. Two docker-compose modes are available: production and develop. Check below for further information
pathfinder.lan
pointing to 127.0.0.1
production.sh
is a wrapper for docker-compose -f docker-compose-prod.yml --env=.env.prod
develop.sh
is a wrapper for docker-compose -f docker-compose-dev.yml --env=.env.dev
docker-compose
, just with modified docker-compose
file location and .env
file location. Run the script without arguments to display help and available commands.env.sample
file to .env.prod
config/Caddyfile.sample
file to config/Caddyfile-prod
.env.prod
and config/Caddyfile-prod
and check your config with ./production.sh config
./production.sh up -d
./production.sh stop
and comment acme_ca
in config/Caddyfile-prod
to receive live letsencrypt TLS-certificate./production.sh up -d
.env.sample
file to .env.dev
config/Caddyfile.sample
file to config/Caddyfile-dev
.env.dev
and config/Caddyfile-dev
and check your config with ./develop.sh config
./develop.sh up -d
https://pathfinder.lan:9000
Build search index
in the Administration section of the setup page.SETUP=False
.wget https://github.com/exodus4d/pathfinder/raw/master/export/sql/eve_universe.sql.zip
unzip eve_universe.sql.zip
docker cp eve_universe.sql "$(./develop.sh ps | grep db_dev | awk '{ print $1}'):/eve_universe.sql"
./develop.sh exec db sh -c 'exec mysql -uroot -p eve_universe < /eve_universe.sql'
./develop.sh exec db sh -c 'exec rm eve_universe.sql*'
docker cp eve_universe.sql "$(./production.sh ps | grep db_prod | awk '{ print $1}'):/eve_universe.sql"
./production.sh exec db sh -c 'exec mysql -uroot -p eve_universe < /eve_universe.sql'
./production.sh exec db sh -c 'exec rm eve_universe.sql*'
Feel free to contribute, there are many improvements (check TODO strings in this repository) that still need to be made.