From 680cce64f1ed8c3503b274cdf86585d467619fd4 Mon Sep 17 00:00:00 2001 From: Klagarge Date: Mon, 6 Apr 2026 17:47:12 +0200 Subject: [PATCH] doc(db): add deployement documentation --- db/README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 db/README.md diff --git a/db/README.md b/db/README.md new file mode 100644 index 0000000..8506d6c --- /dev/null +++ b/db/README.md @@ -0,0 +1,22 @@ += Deployement + +1. Create the Influx token offline with a influx3 container: + +```bash +echo "apiv3_$(openssl rand -base64 64 | tr -d '+/=')" > secrets/admin-token.txt +``` + +2. Copy `.env.template` to `.env` and change value if necessary: + +```bash +cp .env.template .env +``` + +3. Deploy the stack: + +```bash +docker compose up -d +``` + +== Traefik +A traefik config file is available on [traefik.yml](./traefik.yml). It can be used with an OIDC provider ([Authentik](https://github.com/goauthentik/authentik) in our case) to control access to the database explorer.