refactor: enhance installation process with support for full-stack and app-only modes, update environment configurations, and improve database migration handling

This commit is contained in:
Poyraz Avsever
2026-06-13 21:23:28 +03:00
parent 17ff60faea
commit 0f89d9f627
17 changed files with 620 additions and 51 deletions
+23
View File
@@ -0,0 +1,23 @@
# Neta full-stack self-host environment
NETA_INSTALL_MODE=full-stack
NEXT_PUBLIC_SITE_URL=http://localhost:3000
NETA_PORT=3000
# Public Supabase API URL reachable from the browser.
# For local Docker installs this is usually http://localhost:8000.
NEXT_PUBLIC_SUPABASE_URL=http://localhost:8000
SUPABASE_API_PORT=8000
# Generated by install.sh in full-stack mode.
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=
JWT_SECRET=
POSTGRES_PASSWORD=
# Exposes bundled Postgres on the host for backups/manual access.
POSTGRES_PORT=54322
# Optional auth/mail settings.
JWT_EXPIRY=3600
SMTP_ADMIN_EMAIL=admin@neta.local