A fork of techfreak's [Pathfinder-container](https://gitlab.com/techfreak/pathfinder-container/) docker-compose solution for Pathfinder that is designed to work with Goryn Clade's [Pathfinder](https://github.com/goryn-clade/pathfinder/) fork, using [Traefik](https://traefik.io/) as a reverse proxy to expose the docker container.
1.**Edit the *config/pathfinder/pathfinder.ini*** to your liking
Recommended options to change:
*`[PATHFINDER]`
*`NAME`- the name tab title when viewing your Pathfinder
*`[PATHFINDER.LOGIN]`
*`COOKIE_EXPIRE` - expire age (in days) for login cookies. [read more](https://github.com/exodus4d/pathfinder/issues/138#issuecomment-216036606)
*`SESSION_SHARING` - Share maps between logged in characters in the same browser session. [read more](https://github.com/goryn-clade/pathfinder/releases/tag/v2.1.1)
*`CHARACTER` - Character allow-list. Comma separated string of character ids. (empty = "no restriction")
*`CORPORATION` - Corporation allow-list. Comma separated string of corporation ids. (empty = "no restriction")
*`ALLIANCE` - Alliance allow-list. Comma separated string of alliance ids. (empty = "no restriction")
* Remove the beta CA server lines [(#87 - #90)](https://github.com/goryn-clade/pathfinder-containers/blob/master/docker-compose.yml#L87-L90) from `docker-compose.yml`.
* Delete the `letsencrypt/acme.json` configuration file so Let's Encrypt will get a new certificate.</br></br>
> Hint: If you need to make changes, perform your edits first, then do `docker-compose down` to bring down the project, and then `docker-compose up --build -d` to rebuild the containers and run them again.
</br>
---
</br>
### Using Traefik
To keep things simple, the structure of this project assumes that you will use Traefik to provide access to your Pathfinder docker container and nothing else. As such, Traefik containers start and stop with the Pathfinder containers.
If you want to run other services in docker on the same host that also need to be exposed to the web, you should strongly consider splitting Traefik into a separate project with its own docker-compose file. This will allow you to take pathfinder project offline for maintenance without affecting other containers that rely on Traefik.
</br>
---
</br>
## Development
Some Development configurations that have worked well for me have been saved in the `development/` directory, including step debugging for VsCode using [xdebug](https://xdebug.org/)
Development configs and docker files can be quickly restored using: