-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
41 lines (33 loc) · 1.32 KB
/
.env.example
File metadata and controls
41 lines (33 loc) · 1.32 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
# CLIProxy Dashboard Environment Variables
# PostgreSQL Database (self-hosted, managed by docker-compose)
DB_PASSWORD=your_secure_password_here
# CLIProxy Connection
CLIPROXY_URL=http://host.docker.internal:8317
CLIPROXY_MANAGEMENT_KEY=your-management-secret-key
# Collector intervals (seconds/minutes)
COLLECTOR_INTERVAL_SECONDS=60
CREDENTIAL_SYNC_INTERVAL_SECONDS=60
APP_LOG_CLEANUP_INTERVAL_MINUTES=30
APP_LOG_RETENTION_DAYS=30
# Log verbosity control
LOG_VERBOSITY=normal
LOG_DEBUG_EVENTS=false
LOG_DEBUG_EVENTS_MAX_PER_SYNC=200
# Optional host port override for PostgREST (container still listens on 3000)
POSTGREST_HOST_PORT=8418
# Timezone offset from UTC (default: 7 for Vietnam)
TIMEZONE_OFFSET_HOURS=7
# Admin dashboard auth (single shared admin password)
ADMIN_PASSWORD=change-me
ADMIN_SESSION_TTL_DAYS=30
ADMIN_SESSION_COOKIE_NAME=cliproxy_admin_session
ADMIN_SESSION_SECURE_COOKIE=false
ADMIN_SESSION_SAMESITE=Lax
# Optional comma-separated allowlist for stricter Origin/Referer checks on auth/admin POST routes.
# Leave empty to disable Origin enforcement (recommended for the default same-compose setup).
ADMIN_ALLOWED_ORIGINS=
# Frontend polling interval (seconds)
VITE_AUTO_REFRESH_SECONDS=60
VITE_APP_LOGS_PAGE_SIZE=500
# Optional local-only bypass for Vite preview/debug. Never enable in production.
VITE_DEV_BYPASS_AUTH=false