-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
20 lines (17 loc) · 814 Bytes
/
.env.example
File metadata and controls
20 lines (17 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Database
# Connection string for PostgreSQL database
# Format: postgresql://USER:PASSWORD@HOST:PORT/DATABASE?schema=SCHEMA
DATABASE_URL="postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public"
# Redis
# Connection string for Redis (used for caching and session storage)
REDIS_URL="redis://localhost:6379"
# CORS
# Allowed origins for /api/status/snapshot endpoint (comma-separated)
# Example: "https://example.com,https://app.example.com"
# Leave empty to disallow cross-origin requests (secure default), or use "*" to allow all origins
ALLOWED_SNAPSHOT_ORIGINS=""
# API Security
# API key for status update endpoint (POST /api/status/events)
# Leave empty to disable authentication (not recommended for production)
# Generate a secure random string for production use
STATUS_UPDATE_API_KEY=""