PSA/ee/server/.env.example
Hermes 284313f908
Some checks are pending
Bidi Control Character Guard / bidi-control-guard (push) Waiting to run
Circular Dependency Check / Check for new circular dependencies (push) Waiting to run
Citus Migration Smoke / Combined migrations on single-node Citus (push) Waiting to run
E2E Fresh Install Tests / fresh-install-e2e (push) Waiting to run
ext-v2 guardrails / Run ext-v2 guard and ESLint (push) Waiting to run
Integration Tests / Check for relevant changes (push) Waiting to run
Integration Tests / ${{ (github.event_name == 'schedule' || github.event.inputs.suite == 'full') && 'Full integration suite' || 'Tier-1 integration subset' }} (push) Blocked by required conditions
Mobile checks / Mobile lint + typecheck (push) Waiting to run
Mobile checks / Mobile unit tests (push) Waiting to run
Mobile checks / Mobile dependency audit (report) (push) Waiting to run
Mobile checks / Mobile reproducibility checks (push) Waiting to run
Secrets guard (env backups) / Ensure no tracked env backup files (push) Waiting to run
Temporal Readiness / fast-readiness (push) Waiting to run
Temporal Readiness / docker-parity (push) Waiting to run
TypeScript Type Check / Nx affected typecheck (push) Waiting to run
Unit Tests / Skipped-test budget (push) Waiting to run
Unit Tests / Nx affected unit tests (push) Waiting to run
Unit Tests / Server unit coverage (informational) (push) Waiting to run
Validate Tenant Management Schema / Check for relevant changes (push) Waiting to run
Validate Tenant Management Schema / Validate Tenant Management Schema (push) Blocked by required conditions
EE Workflows Build Guard / ee-workflows-build-guard (push) Waiting to run
Initial import of AlgaPSA codebase from PSA server
Excluded: .git, node_modules, secrets/, compose.env, assemblyscript tgz

Source: /opt/alga-psa on psa.joliet.tech
2026-06-22 16:12:17 -05:00

81 lines
2.7 KiB
Plaintext

# Environment variables for EE server testing
# Database configuration
DB_HOST=localhost
DB_PORT=5432
DB_NAME=alga_test
DB_USER=postgres
DB_PASSWORD=
DB_SSL=false
# Test database (if different from main)
TEST_DATABASE_URL=postgresql://postgres:@localhost:5432/alga_test
# Application URLs
EE_BASE_URL=http://localhost:3000
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=test-secret-for-development-only
# Enterprise AI Chat provider configuration (EE only)
# Defaults to openrouter when unset or invalid.
AI_CHAT_PROVIDER=openrouter # openrouter | vertex
# OpenRouter provider (default)
OPENROUTER_API_KEY=your-openrouter-api-key
OPENROUTER_CHAT_MODEL=minimax/minimax-m2
# Vertex provider (OpenAI-compatible endpoint)
VERTEX_PROJECT_ID=your-gcp-project-id
VERTEX_LOCATION=us-central1
VERTEX_CHAT_MODEL=glm-5-maas
# Optional override for the OpenAI-compatible Vertex endpoint URL.
# VERTEX_OPENAPI_BASE_URL=https://us-central1-aiplatform.googleapis.com/v1/projects/your-gcp-project-id/locations/us-central1/endpoints/openapi
# Optional ADC credentials file path (for on-prem/non-GKE deployments).
# GOOGLE_APPLICATION_CREDENTIALS=/path/to/google-application-credentials.json
# Enterprise SSO providers
GOOGLE_OAUTH_CLIENT_ID=your-google-oauth-client-id
GOOGLE_OAUTH_CLIENT_SECRET=your-google-oauth-client-secret
MICROSOFT_OAUTH_CLIENT_ID=your-microsoft-oauth-client-id
MICROSOFT_OAUTH_CLIENT_SECRET=your-microsoft-oauth-client-secret
MICROSOFT_OAUTH_TENANT_ID=common
MICROSOFT_OAUTH_AUTHORITY=https://login.microsoftonline.com
# Testing configuration
DEBUG_BROWSER=false
HEADLESS_BROWSER=true
# Playwright configuration
PLAYWRIGHT_BROWSERS_PATH=0
# Enterprise Runner/Extensions configuration
# Object storage (MinIO/S3-compatible)
STORAGE_S3_ENDPOINT=http://minio:9000
STORAGE_S3_ACCESS_KEY=alga
STORAGE_S3_SECRET_KEY=alga-secret
STORAGE_S3_BUCKET=alga-extensions
# Optional: set only when bundles should use a different bucket.
# Defaults to STORAGE_S3_BUCKET when omitted.
# STORAGE_S3_BUNDLE_BUCKET=alga-extensions-bundles
# Recommended. If omitted and STORAGE_S3_ENDPOINT is set (MinIO), defaults to us-east-1.
STORAGE_S3_REGION=us-east-1
STORAGE_S3_FORCE_PATH_STYLE=true
# Extension bundle source of truth (content-addressed)
# If using a single URL, prefer a path-style bucket URL
EXT_BUNDLE_STORE_URL=http://minio:9000/alga-extensions
# Pod-local cache for bundles and UI assets
EXT_CACHE_ROOT=/var/cache/alga-ext
# Runner service base URL (cluster-internal)
RUNNER_BASE_URL=http://alga-ext-runner.default.svc.cluster.local
# Gateway timeout (ms)
EXT_GATEWAY_TIMEOUT_MS=30000
# Signing trust bundle (PEM) loaded by server/runner to verify bundles
# Provide the contents via a mounted secret or file path
SIGNING_TRUST_BUNDLE=/etc/alga/trust/trust.pem