GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — ui/.env.example at main · openctemio/ui
This repository was archived by the owner on Oct 19, 2026. It is now read-only.
Expand file tree/ Copy path.env.exampleMore file actions 100 lines (85 loc) · 3.71 KB / Copy path.env.exampleFile metadata and controls100 lines (85 loc) · 3.71 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 # ============================================== # ENVIRONMENT CONFIGURATION TEMPLATE # ============================================== # Copy this file to .env.local and fill in your values # Command: cp .env.example .env.local # ---------------------------------------------- # Backend API Configuration (Server-side only) # ---------------------------------------------- # Backend API URL - used by Server Actions and API routes # This is NOT exposed to the browser (no NEXT_PUBLIC_ prefix) BACKEND_API_URL=http://localhost:8080 API_TIMEOUT=30000 # ---------------------------------------------- # WebSocket Configuration # ---------------------------------------------- # Base URL for WebSocket connections (direct to backend API) # Required when frontend and backend run on different ports without nginx proxy # In production with nginx, leave empty (nginx proxies /api/v1/ws to backend) # NEXT_PUBLIC_WS_BASE_URL=http://localhost:8080 # Mock data toggle (default: use real API) # Set to 'false' to use mock data for development without backend # NEXT_PUBLIC_USE_REAL_API=false # ---------------------------------------------- # Authentication Provider # ---------------------------------------------- # Auth provider type: "local" | "oidc" | "hybrid" # - local: Built-in email/password authentication # - oidc: Keycloak/OIDC only # - hybrid: Both local and OIDC available NEXT_PUBLIC_AUTH_PROVIDER=local # Token storage cookie names NEXT_PUBLIC_AUTH_COOKIE_NAME=auth_token NEXT_PUBLIC_REFRESH_COOKIE_NAME=refresh_token COOKIE_MAX_AGE=604800 # ---------------------------------------------- # Keycloak Authentication (OIDC provider) # Only required if AUTH_PROVIDER is "oidc" or "hybrid" # ---------------------------------------------- # NEXT_PUBLIC_KEYCLOAK_URL=http://localhost:8180 # NEXT_PUBLIC_KEYCLOAK_REALM=openctem # NEXT_PUBLIC_KEYCLOAK_CLIENT_ID=ui # KEYCLOAK_CLIENT_SECRET=your-client-secret # NEXT_PUBLIC_KEYCLOAK_REDIRECT_URI=http://localhost:3000/auth/callback # ---------------------------------------------- # Application # ---------------------------------------------- NODE_ENV=development NEXT_PUBLIC_APP_URL=http://localhost:3000 NEXT_PUBLIC_APP_NAME=OpenCTEM NEXT_PUBLIC_APP_DESCRIPTION=Continuous Threat Exposure Management Platform # ---------------------------------------------- # Security # ---------------------------------------------- # IMPORTANT: Set to true in production for HTTPS-only cookies SECURE_COOKIES=false # CRITICAL: Generate a random 32+ character secret for CSRF protection # Generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))" # Or use: npm run generate-secret CSRF_SECRET=CHANGE_ME_TO_RANDOM_32_PLUS_CHARS # Token refresh settings ENABLE_TOKEN_REFRESH=true TOKEN_REFRESH_BEFORE_EXPIRY=300 # ---------------------------------------------- # Sentry Error Monitoring (Required for Production) # ---------------------------------------------- # Get your DSN from: https://sentry.io/settings/projects/{project}/keys/ # Format: https://[email protected]/xxx NEXT_PUBLIC_SENTRY_DSN= # Optional: Set release version (defaults to package.json version) # SENTRY_RELEASE=1.0.0 # Optional: Source maps upload for better error tracing # SENTRY_AUTH_TOKEN= # SENTRY_ORG= # SENTRY_PROJECT= # ---------------------------------------------- # Feature Flags # ---------------------------------------------- # Enable dynamic sidebar badges (shows counts from API) # Set to 'true' to enable. Disabled by default to reduce API calls on page load. # Affected: Findings count, Credential Leaks count, Asset Groups count NEXT_PUBLIC_ENABLE_SIDEBAR_BADGES=false # ---------------------------------------------- # Optional: Third-party Services # ---------------------------------------------- # NEXT_PUBLIC_GA_ID= |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |