changed app linkding: added form fields for initial superuser

This commit is contained in:
Markus 2025-11-16 23:38:19 +01:00
parent b698481a9c
commit 3753b6e0eb
2 changed files with 22 additions and 2 deletions

View file

@ -13,7 +13,23 @@
"author": "sissbruecker",
"source": "https://github.com/sissbruecker/linkding",
"website": "https://www.linkding.link/",
"form_fields": [],
"form_fields": [
{
"type": "text",
"label": "Initial superuser name",
"max": "50",
"required": true,
"placeholder": "admin",
"env_variable": "ENV_SUPERUSER_NAME"
},
{
"type": "password",
"label": "Initial superuser password",
"max": "100",
"required": true,
"env_variable": "ENVLD_SUPERUSER_PASSWORD"
}
],
"supported_architectures": ["arm64", "amd64"],
"created_at": 1763331296327,
"updated_at": 1763331296327

View file

@ -6,6 +6,10 @@
"image": "sissbruecker/linkding:1.44.1-alpine",
"isMain": true,
"internalPort": 9090,
"environment": [
{"key": "LD_SUPERUSER_NAME", "value": "ENV_SUPERUSER_NAME"},
{"key": "LD_SUPERUSER_PASSWORD", "value": "ENV_SUPERUSER_PASSWORD"}
],
"volumes": [
{
"hostPath": "${APP_DATA_DIR}/data",
@ -17,4 +21,4 @@
]
}
]
}