From 21f977c9bd6454f8b04919c750aa8643801bb32a Mon Sep 17 00:00:00 2001 From: Sam <30859143+samoneilll@users.noreply.github.com> Date: Fri, 26 Apr 2024 22:56:28 +1200 Subject: [PATCH 1/6] Update environment.ini Sets Debug level to 0 --- static/pathfinder/environment.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/pathfinder/environment.ini b/static/pathfinder/environment.ini index da5de14..19c2a1f 100644 --- a/static/pathfinder/environment.ini +++ b/static/pathfinder/environment.ini @@ -13,7 +13,7 @@ BASE = ; deployment URL (e.g. https://www.pathfinder-w.space) URL = {{@SCHEME}}://$DOMAIN ; level of debug/error stack trace -DEBUG = 3 +DEBUG = 0 ; Pathfinder database DB_PF_DNS = mysql:host=${MYSQL_HOST};port=${MYSQL_PORT};dbname= DB_PF_NAME = $MYSQL_PF_DB_NAME From d12dfc615faa8acd33de2147f5351dc52eeb7e85 Mon Sep 17 00:00:00 2001 From: Sam <30859143+samoneilll@users.noreply.github.com> Date: Fri, 26 Apr 2024 22:56:55 +1200 Subject: [PATCH 2/6] Update php.ini Removes Debugging --- static/php/php.ini | 1 - 1 file changed, 1 deletion(-) diff --git a/static/php/php.ini b/static/php/php.ini index 5425713..e17d3c2 100755 --- a/static/php/php.ini +++ b/static/php/php.ini @@ -10,7 +10,6 @@ fastcgi.logging=0 request_terminate_timeout = 300 session.save_handler = redis session.save_path = "tcp://${REDIS_HOST}:${REDIS_PORT}" -zend_extension=/usr/lib/php7/modules/xdebug.so [Date] date.timezone="UTC" From ff098d25263d938fefd88f84d9e6623fb12fce8c Mon Sep 17 00:00:00 2001 From: gambtho Date: Thu, 2 May 2024 10:24:23 -0400 Subject: [PATCH 3/6] Remove outdated docker-compose dependency --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 774a785..0117b6b 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,6 @@ A fork of techfreak's [Pathfinder-container](https://gitlab.com/techfreak/pathfi **Prerequisites**: * [docker](https://docs.docker.com/) -* [docker-compose](https://docs.docker.com/) > **Note**: The Docker-compose file uses Compose v3.8, so requires Docker Engine 19.03.0+ @@ -92,7 +91,7 @@ A fork of techfreak's [Pathfinder-container](https://gitlab.com/techfreak/pathfi 1. **Build & Run it** ```shell - docker network create web && docker-compose up -d + docker network create web && docker compose up -d ``` 1. **Open the http://< your-domain >/setup page.** @@ -103,15 +102,15 @@ A fork of techfreak's [Pathfinder-container](https://gitlab.com/techfreak/pathfi 1. **Go back to your console and insert the eve universe dump with this command:** ```shell - docker-compose exec pfdb /bin/sh -c "unzip -p eve_universe.sql.zip | mysql -u root -p\$MYSQL_ROOT_PASSWORD eve_universe"; + docker compose exec pfdb /bin/sh -c "unzip -p eve_universe.sql.zip | mysql -u root -p\$MYSQL_ROOT_PASSWORD eve_universe"; 1. **When everthing works, configure Traefik correctly for production** * Remove the staging CA server line from `docker-compose.yml`from the `command` block of the traefik service definition. * Delete the `./letsencrypt/acme.json` configuration file so Let's Encrypt will get a new certificate.

- * If you are not the root user on your host you may need to edit file permissions. Docker-engine creates the `letsencrypt` director as root user, which means that you would need to prefix `sudo` on any future docker commands (`sudo docker-compose up` etc). To avoid doing this you can take ownership of the letsencrypt directory by running `sudo chown -R $USER ./letsencrypt`. + * If you are not the root user on your host you may need to edit file permissions. Docker-engine creates the `letsencrypt` director as root user, which means that you would need to prefix `sudo` on any future docker commands (`sudo docker compose up` etc). To avoid doing this you can take ownership of the letsencrypt directory by running `sudo chown -R $USER ./letsencrypt`. -> 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. +> 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.
From b741f1fc21173a32cdb49ea4cb3a9bdb472300e7 Mon Sep 17 00:00:00 2001 From: ScottishDex <35346954+ScotDex@users.noreply.github.com> Date: Sun, 8 Dec 2024 00:31:17 +0000 Subject: [PATCH 4/6] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 774a785..5644d64 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,7 @@ A fork of techfreak's [Pathfinder-container](https://gitlab.com/techfreak/pathfi SMTP_PASS="" SMTP_FROM="" SMTP_ERROR="" + LE_EMAIL="your-email@example.com" #Add your email address for notifications if the SSL cert renewal fails. > The `PROJECT_ROOT` key is the *absolute* path to the project directory, ie if you have clone it to /app/pathfinder-containers, this is the value you should enter. If you're unsure of the absolute path, you can use the command `pwd` to get the full absolute path of the current directory. 1. **Edit the *config/pathfinder/pathfinder.ini*** to your liking From aebf0294e987844b713d90eb9690c2ae1f29d00e Mon Sep 17 00:00:00 2001 From: ScottishDex <35346954+ScotDex@users.noreply.github.com> Date: Sun, 8 Dec 2024 00:56:29 +0000 Subject: [PATCH 5/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 774a785..375403d 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ A fork of techfreak's [Pathfinder-container](https://gitlab.com/techfreak/pathfi ```shell docker-compose exec pfdb /bin/sh -c "unzip -p eve_universe.sql.zip | mysql -u root -p\$MYSQL_ROOT_PASSWORD eve_universe"; -1. **When everthing works, configure Traefik correctly for production** +1. **When everything works, configure Traefik correctly for production** * Remove the staging CA server line from `docker-compose.yml`from the `command` block of the traefik service definition. * Delete the `./letsencrypt/acme.json` configuration file so Let's Encrypt will get a new certificate.

* If you are not the root user on your host you may need to edit file permissions. Docker-engine creates the `letsencrypt` director as root user, which means that you would need to prefix `sudo` on any future docker commands (`sudo docker-compose up` etc). To avoid doing this you can take ownership of the letsencrypt directory by running `sudo chown -R $USER ./letsencrypt`. From e5e92871bd3996c0e44b3f533c09c34bf7566c85 Mon Sep 17 00:00:00 2001 From: ScottishDex <35346954+ScotDex@users.noreply.github.com> Date: Sun, 8 Dec 2024 01:04:59 +0000 Subject: [PATCH 6/6] Update docker-compose.yml Added a logging driver for troubleshooting --- docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 61bf662..de28686 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -28,7 +28,9 @@ services: aliases: - "$REDIS_HOST" logging: - driver: none + driver: json-file + options: "5m" + max-file: "3" restart: always pf-socket: image: ghcr.io/goryn-clade/pf-websocket:latest