changed app linkding: added form fields for initial superuser
This commit is contained in:
parent
b698481a9c
commit
3753b6e0eb
2 changed files with 22 additions and 2 deletions
|
|
@ -13,7 +13,23 @@
|
||||||
"author": "sissbruecker",
|
"author": "sissbruecker",
|
||||||
"source": "https://github.com/sissbruecker/linkding",
|
"source": "https://github.com/sissbruecker/linkding",
|
||||||
"website": "https://www.linkding.link/",
|
"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"],
|
"supported_architectures": ["arm64", "amd64"],
|
||||||
"created_at": 1763331296327,
|
"created_at": 1763331296327,
|
||||||
"updated_at": 1763331296327
|
"updated_at": 1763331296327
|
||||||
|
|
|
||||||
|
|
@ -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": "ENV_SUPERUSER_NAME"},
|
||||||
|
{"key": "LD_SUPERUSER_PASSWORD", "value": "ENV_SUPERUSER_PASSWORD"}
|
||||||
|
],
|
||||||
"volumes": [
|
"volumes": [
|
||||||
{
|
{
|
||||||
"hostPath": "${APP_DATA_DIR}/data",
|
"hostPath": "${APP_DATA_DIR}/data",
|
||||||
|
|
@ -17,4 +21,4 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue