linkding_auth.sh persists ADMIN_USER and ADMIN_PASSWORD when the first admin is created, and keeps the password in step on later resets of that account, but linkding.config declared neither — so both writes were no-ops and the WebUI credentials card never had anything to show. Predates the slot work; it only became visible once authPersistCfg started warning instead of failing silently. Added empty rather than RANDOMIZED*, because unlike bookstack or nextcloud nothing seeds a linkding account at install — the first user is created from the WebUI. A generated password would name an account that does not exist, and the card would display a password that cannot log in. Unslotted for the same reason: the slot number marks a value the installer generates, and this one is written at runtime by the tool. No AUTH_PROFILE key: nothing reads it (it exists only in a comment in auth_adapter.sh), and adding an unread key is what was just cleaned up elsewhere. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
80 lines
4.1 KiB
Plaintext
Executable File
80 lines
4.1 KiB
Plaintext
Executable File
#
|
|
# =============================================================================
|
|
# GENERAL CONFIGURATION
|
|
# =============================================================================
|
|
# APP_NAME = name of application for use in scripts
|
|
# COMPOSE_FILE = default for no app_name in the docker-compose file name, app if there is
|
|
# BACKUP = if true, include this application in backup operations
|
|
# UPDATE_TYPE = auto: new image builds are applied automatically (a recovery snapshot is taken first), manual: only when you press Update
|
|
# HEALTHCHECK = if true, default docker health checks for that container will be enabled
|
|
# AUTHELIA = if true, use Authelia authentication, if false turned off.
|
|
# HEADSCALE = options : false, local, remote (see general config). e.g false or local,remote
|
|
#
|
|
CFG_LINKDING_APP_NAME=linkding
|
|
CFG_LINKDING_BACKUP=true
|
|
CFG_LINKDING_BACKUP_STRATEGY=auto
|
|
CFG_LINKDING_UPDATE_TYPE=auto
|
|
CFG_LINKDING_COMPOSE_FILE=default
|
|
CFG_LINKDING_HEALTHCHECK=true
|
|
CFG_LINKDING_AUTHELIA=false
|
|
CFG_LINKDING_HEADSCALE=false
|
|
#
|
|
# =============================================================================
|
|
# METADATA
|
|
# =============================================================================
|
|
# CATEGORY = application category for grouping
|
|
# TITLE = display name for the application
|
|
# DESCRIPTION = short description of the application
|
|
# LONG_DESCRIPTION = detailed description of the application
|
|
# URL = source repository or documentation URL
|
|
# ACTIONS = available actions for this application
|
|
#
|
|
CFG_LINKDING_CATEGORY="knowledge"
|
|
CFG_LINKDING_TITLE="Linkding"
|
|
CFG_LINKDING_DESCRIPTION="Bookmark Manager"
|
|
CFG_LINKDING_LONG_DESCRIPTION="Linkding is a simple, self-hosted bookmark manager designed to be fast, lightweight, and easy to use with a clean interface"
|
|
CFG_LINKDING_URL="https://github.com/sissbruecker/linkding"
|
|
CFG_LINKDING_ACTIONS="configure|install|restart|shutdown|uninstall"
|
|
#
|
|
# =============================================================================
|
|
# NETWORK CONFIGURATION
|
|
# =============================================================================
|
|
# DOMAIN = number of domain from the general config, useful when using multiple domains
|
|
# WHITELIST = if true only allow whitelisted ips on traefik, if false allow all
|
|
#
|
|
CFG_LINKDING_DOMAIN=1
|
|
CFG_LINKDING_WHITELIST=false
|
|
CFG_LINKDING_NETWORK=default
|
|
#
|
|
# =============================================================================
|
|
# PORT CONFIGURATION
|
|
# =============================================================================
|
|
# PORT_ = port configuration: app|name|external:internal|access|protocol|login|traefik|webui|description
|
|
# - app: application name
|
|
# - name: service identifier (webui, dns, ssh, etc.)
|
|
# - external:internal: port mapping (external can be 'random' for auto-allocation)
|
|
# - access: 'public' (internet accessible), 'private' (local network only), 'disabled' (not running)
|
|
# - protocol: 'tcp' or 'udp'
|
|
# - login: if true, this port requires basic-auth via Traefik (only meaningful when traefik=true)
|
|
# - traefik: if true, Traefik handles this port (reverse proxy)
|
|
# - webui: if true, this port serves the main web interface
|
|
# - description: human-readable description of the service
|
|
#
|
|
CFG_LINKDING_PORT_1="linkding-service|webui|random:9090|public|tcp|false|true|true|Web Interface||bookmark"
|
|
#
|
|
# =============================================================================
|
|
# ADMIN ACCOUNT
|
|
# =============================================================================
|
|
# Recorded by the auth tools, not by the installer. Linkding ships with no user
|
|
# at all — the first admin is created from the WebUI (Create Account), and the
|
|
# adapter writes the username and password here so the credentials card can show
|
|
# them, then keeps the password in step on later resets of that same account.
|
|
#
|
|
# Deliberately empty rather than RANDOMIZED*: nothing seeds an account at
|
|
# install, so a generated password would name an account that does not exist and
|
|
# the WebUI would display a password that cannot log in. These are also
|
|
# unslotted, because the slot number marks a value the installer generates.
|
|
#
|
|
CFG_LINKDING_ADMIN_USER=
|
|
CFG_LINKDING_ADMIN_PASSWORD=
|