feat: dockerfile (node runtime), startup migration, README, runtime env config

This commit is contained in:
2026-06-10 08:16:45 +00:00
parent 56186a1fea
commit 7331fe75e8
12 changed files with 286 additions and 31 deletions

View File

@@ -4,12 +4,8 @@ export default defineNuxtConfig({
devtools: { enabled: false },
// Single-user private inbox: no SSR/SEO needs; SPA so @kuns/zitadel-auth runs in-browser.
runtimeConfig: {
// server-only
databaseUrl: process.env.DATABASE_URL,
zitadelIssuer: process.env.ZITADEL_ISSUER || "https://auth.kuns.dev",
zitadelAudience: process.env.ZITADEL_AUDIENCE || "",
allowedUserIds: process.env.ALLOWED_USER_IDS || "",
webOrigin: process.env.WEB_ORIGIN || "",
// Server-only config is read directly from process.env at runtime (see server/utils),
// so it is NOT declared here (Nuxt only overrides runtimeConfig via the NUXT_ prefix).
public: {
zitadelIssuer: process.env.NUXT_PUBLIC_ZITADEL_ISSUER || "https://auth.kuns.dev",
zitadelClientId: process.env.NUXT_PUBLIC_ZITADEL_CLIENT_ID || "",