changed app linkding: fixed form-feeded env variables

This commit is contained in:
Markus 2025-11-16 23:49:08 +01:00
parent 0cf1a73c76
commit 8ef85cba21
2 changed files with 6 additions and 2 deletions

View file

@ -20,14 +20,14 @@
"max": "50", "max": "50",
"required": true, "required": true,
"placeholder": "admin", "placeholder": "admin",
"env_variable": "LD_SUPERUSER_NAME" "env_variable": "SUPERUSER_NAME"
}, },
{ {
"type": "password", "type": "password",
"label": "Initial superuser password", "label": "Initial superuser password",
"max": "100", "max": "100",
"required": true, "required": true,
"env_variable": "LD_SUPERUSER_PASSWORD" "env_variable": "SUPERUSER_PASSWORD"
} }
], ],
"supported_architectures": ["arm64", "amd64"], "supported_architectures": ["arm64", "amd64"],

View file

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