From ce80789de112c35339c216044582ed9531c60c81 Mon Sep 17 00:00:00 2001 From: Markus Date: Mon, 17 Nov 2025 00:04:09 +0100 Subject: [PATCH] changed app linkding: testing env variables --- apps/linkding/config.json | 17 ----------------- apps/linkding/docker-compose.json | 4 ++-- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/apps/linkding/config.json b/apps/linkding/config.json index beb4590..f67b8b3 100644 --- a/apps/linkding/config.json +++ b/apps/linkding/config.json @@ -13,23 +13,6 @@ "author": "sissbruecker", "source": "https://github.com/sissbruecker/linkding", "website": "https://www.linkding.link/", - "form_fields": [ - { - "type": "text", - "label": "Initial superuser name", - "max": "50", - "required": true, - "placeholder": "admin", - "env_variable": "SUPERUSER_NAME" - }, - { - "type": "password", - "label": "Initial superuser password", - "max": "100", - "required": true, - "env_variable": "SUPERUSER_PASSWORD" - } - ], "supported_architectures": ["arm64", "amd64"], "created_at": 1763331296327, "updated_at": 1763333712520 diff --git a/apps/linkding/docker-compose.json b/apps/linkding/docker-compose.json index 27ebab9..2871e7c 100644 --- a/apps/linkding/docker-compose.json +++ b/apps/linkding/docker-compose.json @@ -7,8 +7,8 @@ "isMain": true, "internalPort": 9090, "environment": [ - { "key": "LD_SUPERUSER_NAME", "value": "${SUPERUSER_NAME}" }, - { "key": "LD_SUPERUSER_PASSWORD", "value": "${SUPERUSER_PASSWORD}" } + { "key": "LD_SUPERUSER_NAME", "value": "${SUPERUSER_NAME:-admin}" }, + { "key": "LD_SUPERUSER_PASSWORD", "value": "${SUPERUSER_PASSWORD:-l1nkd1ng}" } ], "volumes": [ {