-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
32 lines (26 loc) · 717 Bytes
/
Copy path.env.example
File metadata and controls
32 lines (26 loc) · 717 Bytes
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
# Server Configuration
PORT=8080
ENVIRONMENT=development
# Database Configuration
# Options: postgres
DB_TYPE=postgres
# PostgreSQL (default)
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DB=uptime
POSTGRES_USER=uptime
POSTGRES_PASSWORD=secret
POSTGRES_SSLMODE=disable
# Database Connection Pool
DB_MAX_OPEN_CONNS=25
DB_MAX_IDLE_CONNS=5
# Security
# CRITICAL: Generate a strong random secret for production!
# Use: openssl rand -base64 32
# Minimum 32 characters required in production
JWT_SECRET=change-this-secret-in-production
# Application URL (used to derive CORS origins + OAuth redirect URL)
APP_URL=http://localhost:3000
# Security tokens (required)
METRICS_TOKEN=change-me
HEALTH_TOKEN=change-me