Replica of the reference start page: wallpaper, serif clock, search bar and link cards, as a TanStack Start app. - Better Auth: email/password and OIDC single sign-on - Postgres with Drizzle for the auth tables, cards, links, settings and uploaded wallpapers; the server applies the migrations on start - cards group links; links are dragged inside and between cards - search with DuckDuckGo, SearXNG or Google, suggestions and / commands - settings page: name, search engine, wallpaper, account - UI from collabry-components, copied into src/vendor/collabry - Dockerfile and a Gitea workflow that checks the code, builds the image for amd64 and arm64 and pushes it to the registry on main
24 lines
747 B
Bash
24 lines
747 B
Bash
DATABASE_URL=postgres://dashboard:dashboard@localhost:5432/dashboard
|
|
|
|
# openssl rand -base64 32
|
|
BETTER_AUTH_SECRET=
|
|
# Public URL of this app (used for cookies and the OIDC callback)
|
|
BETTER_AUTH_URL=http://localhost:3000
|
|
|
|
# IPs or CIDRs of your reverse proxy, comma separated (e.g. 172.16.0.0/12).
|
|
# Needed for the per-client login rate limit.
|
|
TRUSTED_PROXIES=
|
|
|
|
# Set to "true" to close email/password registration
|
|
DISABLE_SIGNUP=false
|
|
|
|
# SSO (any OIDC provider: Keycloak, Authentik, Authelia, Entra ID, ...)
|
|
# Callback URL to register: ${BETTER_AUTH_URL}/api/auth/callback/sso
|
|
OIDC_DISCOVERY_URL=
|
|
OIDC_CLIENT_ID=
|
|
OIDC_CLIENT_SECRET=
|
|
OIDC_PROVIDER_NAME=SSO
|
|
|
|
# SearXNG instance (must be reachable from the browser and from this server)
|
|
SEARXNG_URL=
|