feature flags

This commit is contained in:
2026-01-07 22:05:53 +01:00
parent 1b63fa646c
commit 606b64cec7
530 changed files with 2092 additions and 2943 deletions

View File

@@ -1,7 +1,7 @@
# ==========================================
# GridPilot Development Environment
# ==========================================
# Used by `docker-compose.dev.yml` via `env_file: .env.development`.
# This file is consumed by `docker-compose.dev.yml` (API, Website, Postgres).
# ------------------------------------------
# Runtime
@@ -15,14 +15,9 @@ NEXT_TELEMETRY_DISABLED=1
# API persistence is inferred from DATABASE_URL by default.
# GRIDPILOT_API_PERSISTENCE=postgres
# Force reseed on every startup in development
GRIDPILOT_API_FORCE_RESEED=1
GRIDPILOT_API_BOOTSTRAP=1
GRIDPILOT_API_PERSISTENCE=postgres
DATABASE_URL=postgres://gridpilot_user:gridpilot_dev_pass@db:5432/gridpilot_dev
# Postgres container vars (used by `docker-compose.dev.yml` -> `db`)
# Postgres container vars (used by docker `db` service)
POSTGRES_DB=gridpilot_dev
POSTGRES_USER=gridpilot_user
POSTGRES_PASSWORD=gridpilot_dev_pass
@@ -30,16 +25,14 @@ POSTGRES_PASSWORD=gridpilot_dev_pass
# ------------------------------------------
# Website (Next.js) - public (exposed to browser)
# ------------------------------------------
NEXT_PUBLIC_GRIDPILOT_MODE=alpha
NEXT_PUBLIC_SITE_URL=http://localhost:3000
# Browser → API base URL (host port 3001 -> container port 3000)
NEXT_PUBLIC_API_BASE_URL=http://localhost:3001
# Optional links / metadata
NEXT_PUBLIC_DISCORD_URL=https://discord.gg/your-invite-code
NEXT_PUBLIC_X_URL=https://x.com/your-handle
# Optional site/legal metadata (defaults used when unset)
# NEXT_PUBLIC_SITE_NAME=GridPilot
# NEXT_PUBLIC_SUPPORT_EMAIL=support@example.com
# NEXT_PUBLIC_SPONSOR_EMAIL=sponsors@example.com
@@ -87,3 +80,7 @@ SCREENSHOT_ON_ERROR=true
# LOG_FILE_PATH=./logs/gridpilot
# LOG_MAX_FILES=7
# LOG_MAX_SIZE=10m
# Start Chrome with debugging enabled:
# /Applications/Google Chrome.app/Contents/MacOS/Google Chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug
# Or use: npm run chrome:debug