From 8c279655eaf0daef3304d189c05dd18bc6b516fd Mon Sep 17 00:00:00 2001
From: Gregoo <versatile.mailbox@gmail.com>
Date: Fri, 24 Jan 2025 11:13:27 +0100
Subject: [PATCH] Remove duplicated info from common errors, doc fixes

---
 docs/DOCS.md          |  2 +-
 docs/common-errors.md | 40 ++--------------------------------------
 2 files changed, 3 insertions(+), 39 deletions(-)

diff --git a/docs/DOCS.md b/docs/DOCS.md
index 0f64f3a..f4a3c14 100644
--- a/docs/DOCS.md
+++ b/docs/DOCS.md
@@ -17,7 +17,7 @@ This page helps you navigate the documentation of BrickTracker.
 
 ## Specific procedures
 
-- [Setup basic authentication](authentication.md)
+- [Setup lightweight authentication](authentication.md)
 - [Move an existing ./app.db database](move-existing-database.md)
 
 ## Troubleshooting
diff --git a/docs/common-errors.md b/docs/common-errors.md
index cdf5463..c0d8fc7 100644
--- a/docs/common-errors.md
+++ b/docs/common-errors.md
@@ -5,50 +5,14 @@
 
 ## I need a password to access some pages
 
-You have setup lightweight authentication. Your password is in your environement `BK_AUTHENTICATION_PASSWORD` variable.
+You have setup [lightweight authentication](authentication.md). Your password is in your environement `BK_AUTHENTICATION_PASSWORD` variable.
 
 ## I cannot access the Add page (Configuration missing!)
 
 ![](images/common-errors-01.png)
 
 You need to pass the `BK_REBRICKABLE_API_KEY` environment to your application, depending on how you run the application.
-For instance:
-
-- Docker: `docker run -e BK_REBRICKABLE_API_KEY=xxxx`
-- Docker compose (directly in `compose.yaml`):
-
-```
-services:
-  bricktracker:
-    environment:
-      - BK_AUTHENTICATION_KEY=xxxx
-```
-
-- Docker compose (with an environement file, for instance `.env`)
-
-```
--- .env
-BK_AUTHENTICATION_KEY=xxxx
-
--- compose.yaml
-services:
-  bricktracker:
-    env_file: ".env"
-```
-
-> **Warning**
-> Do not use quotes (", ') around your environment variables.
-> Docker will interpret them has being part of the **value** of the environment variable.
-> For instance...
->
-> ```
-> services:
->  bricktracker:
->    environment:
->      - BK_AUTHENTICATION_KEY="xxxx"
-> ```
->
-> ...will make Docker believe that your API key is `"xxxx"`.
+See [setup](setup.md) for more information.
 
 ## The socket is disconnected