From 2ce2b5e7423e15a131a948ff3744bde2722e8aa9 Mon Sep 17 00:00:00 2001 From: Christian Beutel <> Date: Fri, 28 Mar 2025 21:10:50 +0100 Subject: [PATCH] makes POCKETBASE_ENCRYPTION_KEY optional --- db/main.go | 2 +- docs/src/content/docs/guides/custom-categories.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/main.go b/db/main.go index 8d6f31d9..862a7e3a 100644 --- a/db/main.go +++ b/db/main.go @@ -35,7 +35,7 @@ func verifySettings() { encryptionKey := os.Getenv("POCKETBASE_ENCRYPTION_KEY") if len(encryptionKey) == 0 || len(encryptionKey) < 32 { - log.Fatal("POCKETBASE_ENCRYPTION_KEY not set or is shorter than 32 bytes") + log.Println("POCKETBASE_ENCRYPTION_KEY not set or is shorter than 32 bytes") } meiliMasterKey := os.Getenv("MEILI_MASTER_KEY") diff --git a/docs/src/content/docs/guides/custom-categories.md b/docs/src/content/docs/guides/custom-categories.md index 0c14b843..84874f2c 100644 --- a/docs/src/content/docs/guides/custom-categories.md +++ b/docs/src/content/docs/guides/custom-categories.md @@ -8,7 +8,7 @@ wanderer uses categories to classify what kind of activity a trail belongs to. O ## Backend access First, you need access to the PocketBase backend. If you are using docker make sure to forward the internal port 8090 to a public port. With the default configuration, the PocketBase admin panel is available at `http://localhost:8090/_/`. If this is your first time visiting the panel you will need to create an admin account. -To create backend acces navigate to your docker-compose.yaml file and type: +To create backend access navigate to your docker-compose.yaml file and type: ``` docker compose exec -it db /pocketbase superuser upsert email@example.com myverysecurepassword ```