Environment variables

What the node reads from its environment: which values are set, what each one is for, and what breaks without it.

Auth

AUTH_SECRETChecking…

Generate: https://generate-secret.vercel.app/32

AUTH_TRUST_HOSTChecking…
ARCHITECT_TOKENChecking…

Optional: direct admin access via /api/auth/architect?token=

Shell iframe URLs

App

NEXT_PUBLIC_LANGChecking…

Languages (multilingual content routing)

Comma-separated list of language codes the site serves. Two or more → the language switcher button appears and content lives under /<lang>/… . Leave a SINGLE language → the button disappears and pages are served from the root with no prefix (single-language mode). A fresh deployment gets English plus the language of the deployment — NOT the list below, which is only an example of the FORM. The authority is the `.env.local` of this project; never take a language set from this file so the switcher is visible out of the box. IMPORTANT: these are NEXT_PUBLIC_* — baked into the build. Changing them needs a rebuild to take effect. Service pages (/architecture, /ai-core, …) always stay at the root regardless of this setting. Full immutable CATALOG of all possible languages (82, ISO 639-1). A source-of- truth reference list, NOT the active set. The active languages live in NEXT_PUBLIC_SUPPORTED_LANGUAGES below (a subset drawn from this catalog). Mirrors the keys of config/translations/language-metadata.ts. Not yet wired into code — kept here as the canonical raw enumeration.

Links (footer)

Auto-update

Media Service

Remote Data DB (для локальной разработки)

REMOTE_DATA_URLChecking…

Раскомментировать для работы с БД на сервере вместо локального SQLite. 🔒 ИМЯ КЛЮЧА — DATA_SECRET. На сервере установщик пишет именно его, и весь код спрашивает сначала DATA_SECRET, потом DATA_API_KEY. Второе имя оставлено ради файлов, выданных панелью раньше, — новые пишите под первым.

DATA_SECRETChecking…

OpenAI

OPENAI_API_KEYChecking…

Voice input and translation. Without it the microphone says there is no key. An element without its own key uses this one (owner, node step 336).