From d25c4cb2268f616d915000adfc25ab1dae08b349 Mon Sep 17 00:00:00 2001 From: Henrik Jess Nielsen Date: Sat, 23 May 2026 00:59:47 +0200 Subject: [PATCH] =?UTF-8?q?docs:=20clarify=20deploy=20section=20=E2=80=94?= =?UTF-8?q?=20Consul=20KV=20is=20i80-specific,=20local=20dev=20uses=20.env?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a430f60..f8a2692 100644 --- a/README.md +++ b/README.md @@ -36,12 +36,23 @@ docker compose up ## Deploy til i80/Nomad -1. Konfigurer Gitea secrets: `REGISTRY_USER`, `REGISTRY_TOKEN`, `NOMAD_ADDR`, `NOMAD_TOKEN` -2. Læg Tink credentials i Nomad/Vault: `secret/moneycapp-tink-demo` -3. Tilføj `https://tink-demo.i80.dk/callback` som Redirect URI i Tink Console -4. Push til `main` → Gitea Actions bygger og deployer +> **Kun relevant for i80-infrastruktur.** For din egen infra: byg Docker image og kør med env vars. -## Tink Console setup +1. Læg credentials i Consul KV: + ```bash + consul kv put tink-demo/TINK_CLIENT_ID + consul kv put tink-demo/TINK_CLIENT_SECRET + ``` +2. Tilføj `https://tink-demo.i80.dk/callback` som Redirect URI i Tink Console +3. Push til `main` → Gitea Actions bygger og deployer automatisk + +## Docker (self-hosted) + +```bash +cp .env.example .env +# Udfyld TINK_CLIENT_ID og TINK_CLIENT_SECRET +docker compose up +``` 1. Gå til [console.tink.com](https://console.tink.com) 2. Opret en app → kopiér Client ID + Secret til `.env`