Add option to disable registration

Add the options to disable registration and if using SSO the option to disable the username and password fields

using the variables from https://docs.linkwarden.app/self-hosting/environment-variables
This commit is contained in:
ddcash
2024-07-21 11:53:30 -05:00
committed by GitHub
parent 4bdfa7674e
commit eb7492bb94

View File

@@ -7,13 +7,15 @@
"description": "collaborative bookmark manager to collect, organize, and preserve webpages and articles",
"environment": {
"DATABASE_URL": "postgresql://postgres:homeassistant@localhost:5432/linkwarden",
"NEXTAUTH_URL": "http://localhost:3000/api/v1/auth",
"STORAGE_FOLDER": "/config/library",
"NEXTAUTH_URL": "http://localhost:3000/api/v1/auth",
"NEXT_PUBLIC_AUTHENTIK_ENABLED": "false",
"NEXT_PUBLIC_CREDENTIALS_ENABLED": "true",
"NEXT_PUBLIC_DISABLE_REGISTRATION": "False",
"AUTHENTIK_CUSTOM_NAME": "Authentik",
"AUTHENTIK_ISSUER": "https://authentik.my-doma.in/application/o/linkwarden",
"AUTHENTIK_CLIENT_ID": "CLIENT_ID",
"AUTHENTIK_CLIENT_SECRET": "CLIENT_SECRET"
"AUTHENTIK_CLIENT_SECRET": "CLIENT_SECRET",
},
"image": "ghcr.io/alexbelgium/linkwarden-{arch}",
"init": false,