refactor: improve auth defaults, update UI, and docs

- Provide fallback values for auth environment variables
- Refine global CSS styles and typography
- Update application metadata descriptions
- Add toast error handling to clients page
- Formalize phase implementation guidelines in AGENTS.md
This commit is contained in:
Team Dark Devil committed 2026-11-16 21:58:18 +06:00
1 parent df14ee1a9a
commit fde2c86b1e
48 files changed
+1062 -1665

No files matched your search

+15 -14
View File
@@ -1,15 +1,16 @@
# Optional settings for other hosting integrations; Coolify Compose does not require them.
GEMINI_API_KEY="MY_GEMINI_API_KEY"
APP_URL="MY_APP_URL"
# DataStack Environment Variables Configuration
# Coolify auto-generates these values from docker-compose.yml magic variables:
# SERVICE_HEX_32_DATABASENAME
# SERVICE_PASSWORD_64_POSTGRES
# SERVICE_REALBASE64_64_JWT
# SERVICE_REALBASE64_64_ADMINSESSION
# SERVICE_REALBASE64_64_ADMININSTALL
# They are not entered here. JWT/session/admin secrets can be rotated in Coolify.
# PostgreSQL name/password are generated once and persist. Password rotation also requires changing the DB role.
# The install key is required only for the first admin setup; setup closes after first account creation.
# The only required manual value for Coolify is the administrator's email:
DATASTACK_ADMIN_EMAIL=
# Administrator Account (defaults to admin@datastack.dev / admin12345678 if omitted)
DATASTACK_ADMIN_EMAIL=admin@datastack.dev
DATASTACK_ADMIN_PASSWORD=admin12345678
# Security & Session Secrets (min 32 characters)
DATASTACK_ADMIN_SESSION_SECRET=datastack-admin-session-default-secret-32-chars
DATASTACK_JWT_SECRET=datastack-jwt-default-secret-key-32-chars-long
DATASTACK_ADMIN_SETUP_KEY=datastack-default-setup-key-32-chars
# PostgreSQL Database (optional - in-memory fallback active when not configured)
# DATABASE_URL=postgresql://datastack:password@localhost:5432/datastack_db
# Ingestion Engine Port (defaults to 4000)
PORT_SOCKET=4000