changed app linkding: testing env variables

This commit is contained in:
Markus 2025-11-17 00:04:09 +01:00
parent 432095c29a
commit ce80789de1
2 changed files with 2 additions and 19 deletions

View file

@ -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

View file

@ -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": [
{