changed app linkding: fixed form-feeded env variables

This commit is contained in:
Markus 2025-11-16 23:45:35 +01:00
parent 94478193d8
commit 0cf1a73c76
2 changed files with 2 additions and 6 deletions

View file

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

View file

@ -6,10 +6,6 @@
"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": "${ENV_SUPERUSER_NAME}"},
{"key": "LD_SUPERUSER_PASSWORD", "value": "${ENV_SUPERUSER_PASSWORD}"}
],
"volumes": [ "volumes": [
{ {
"hostPath": "${APP_DATA_DIR}/data", "hostPath": "${APP_DATA_DIR}/data",