-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathenv.example
More file actions
44 lines (32 loc) · 1.75 KB
/
env.example
File metadata and controls
44 lines (32 loc) · 1.75 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
# LogDeck Environment Configuration
# =============================================================================
# Authentication Settings (Required)
# =============================================================================
# JWT Secret Key - Use a strong, random string (minimum 32 characters)
# Generate one with: openssl rand -base64 32
JWT_SECRET=your-super-secret-key-change-this-to-something-random-min-32-chars
# Admin User Credentials
ADMIN_USERNAME=admin
# Admin Password - MUST be a bcrypt hash (plain text is not supported)
# Generate hash with: cd server/scripts && go run hash-password.go yourPassword
# Example output: $2a$10$N9qo8uLOickgx2ZMRZoMyeIjZAgcfl7p92ldGxad68LJZdL17lhWy
ADMIN_PASSWORD=$2a$10$YourBcryptHashHere
# =============================================================================
# Server Configuration (Optional)
# =============================================================================
# Backend port (default 8080)
BACKEND_PORT=8080
# Frontend port (default: 5173)
FRONTEND_PORT=5173
# =============================================================================
# Docker Configuration (Optional)
# =============================================================================
# Docker host (uncomment to override default)
# DOCKER_HOST=unix:///var/run/docker.sock
# =============================================================================
# Coolify Integration (Optional)
# =============================================================================
# Enable this to persist env var changes across Coolify redeployments.
# Format: hostName|apiURL|apiToken,hostName|apiURL|apiToken,...
# Host names must match names defined in DOCKER_HOSTS.
# COOLIFY_CONFIGS=local|https://your-coolify-instance.com|your-api-token