-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
38 lines (25 loc) · 1.77 KB
/
.env.example
File metadata and controls
38 lines (25 loc) · 1.77 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
# Auth Box v2 -- Environment Variables
# Copy to .env and adjust for your environment.
# ── Go API ─────────────────────────────────────────────────────────────────────
# HTTP server address (default: :8080)
AUTH_BOX_HTTP_ADDR=:8080
# PostgreSQL connection string (required)
AUTH_BOX_DB_DSN=postgres://auth_box:auth_box_dev@localhost:5410/auth_box?sslmode=disable
# Redis URL (optional, for future rate-limit persistence)
AUTH_BOX_REDIS_URL=redis://localhost:6310/0
# Environment name (local|staging|production)
AUTH_BOX_ENV=local
# Allowed CORS origins (comma-separated)
AUTH_BOX_ALLOWED_ORIGINS=http://localhost:3010,http://localhost:3000
# App version string
AUTH_BOX_VERSION=2.0.0
# ── Next.js Web App ────────────────────────────────────────────────────────────
# API base URL for the frontend (must match AUTH_BOX_HTTP_ADDR exposed port)
NEXT_PUBLIC_API_BASE_URL=http://localhost:4010
# ── Console App ────────────────────────────────────────────────────────────────
# Optional server-side API base override for apps/console
AUTH_BOX_CONSOLE_API_BASE_URL=http://localhost:4010
# ── Chrome Extension ───────────────────────────────────────────────────────────
# Required for non-dev extension builds
VITE_API_BASE=http://localhost:4010
VITE_VAULT_URL=http://localhost:3010