-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathenv.sample
More file actions
35 lines (28 loc) · 1.13 KB
/
env.sample
File metadata and controls
35 lines (28 loc) · 1.13 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
# ClickLens Environment Configuration
#
# Copy this file to .env.local and fill in the values
# ClickHouse Server Connection (required)
# Uses HTTP interface (ports 8123/8443)
CLICKHOUSE_HOST=localhost
CLICKHOUSE_PORT=8123
# Enable HTTPS (default: false)
CLICKHOUSE_SECURE=false
# Verify SSL certificate (default: true)
# Set to false to allow self-signed certificates
CLICKHOUSE_VERIFY=true
# Lens Service User (for metadata queries)
# This user needs read access to system.* tables only
# Create with: CREATE USER lensuser IDENTIFIED BY 'password';
# GRANT SELECT ON system.* TO lensuser;
LENS_USER=default
LENS_PASSWORD=password
# Session Secret (required for production)
# Generate with: openssl rand -base64 32
SESSION_SECRET=CHANGE_ME_GENERATE_WITH_openssl_rand_base64_32
# Disable Secure Cookies for HTTP-only setups
# Set to 'true' if accessing ClickLens via HTTP (e.g. localhost, local network).
# DEFAULT: false (Secure cookies enforce HTTPS in production).
# DISABLE_SECURE_COOKIES=false
# Redis Configuration (optional)
# Used for query result caching. If not set, caching will be disabled.
# REDIS_URL=redis://localhost:6379