2026-03-02 21:52:22 +00:00
|
|
|
# ==============================================
|
|
|
|
|
# Checkmate Server Configuration
|
|
|
|
|
# ==============================================
|
|
|
|
|
# Copy this file to .env and fill in your values
|
|
|
|
|
|
|
|
|
|
# Server Configuration
|
|
|
|
|
# --------------------
|
|
|
|
|
NODE_ENV=development
|
|
|
|
|
LOG_LEVEL=debug
|
|
|
|
|
|
|
|
|
|
# Database
|
|
|
|
|
# --------
|
|
|
|
|
DB_CONNECTION_STRING=mongodb://localhost:27017/uptime_db
|
2026-06-16 10:59:46 -07:00
|
|
|
QUEUE_MODE="primary"
|
|
|
|
|
QUEUE_PRIMARY_PROCESSES="true"
|
2026-03-02 21:52:22 +00:00
|
|
|
|
|
|
|
|
# JWT Authentication
|
|
|
|
|
# ------------------
|
|
|
|
|
JWT_SECRET=my_secret
|
|
|
|
|
TOKEN_TTL=99d
|
|
|
|
|
|
|
|
|
|
# Client Configuration
|
|
|
|
|
# --------------------
|
|
|
|
|
CLIENT_HOST=http://localhost:5173
|
|
|
|
|
|
|
|
|
|
# Optional Configuration
|
|
|
|
|
# ----------------------
|
|
|
|
|
ORIGIN=localhost
|
2026-04-23 19:57:43 -04:00
|
|
|
|
2026-09-10 10:31:41 -07:00
|
|
|
# Encryption
|
|
|
|
|
# ------------------
|
|
|
|
|
# Encrypts stored Docker TLS client keys. Not needed for socket-only Docker monitors.
|
|
|
|
|
# Generate a key: openssl rand -base64 32
|
|
|
|
|
# Key list: comma-separated; the first key encrypts, every key decrypts.
|
|
|
|
|
# Split deployments: set the same value on the API and every worker.
|
|
|
|
|
# Rotate a key: 1. deploy OLD_KEY,NEW_KEY everywhere so every process can read both
|
|
|
|
|
# 2. deploy NEW_KEY,OLD_KEY everywhere so new writes use the new key
|
|
|
|
|
# 3. wait for the worker to re-encrypt every row, then drop OLD_KEY
|
|
|
|
|
# ENCRYPTION_KEY=<output of openssl rand -base64 32>
|
|
|
|
|
|
2026-04-23 19:57:43 -04:00
|
|
|
# Feature Flags
|
|
|
|
|
# -------------
|
|
|
|
|
# Set to "false" to disable the selectable theme feature on status pages.
|
|
|
|
|
# When disabled, all status pages render with the default "refined" theme.
|
|
|
|
|
STATUS_PAGE_THEMES_ENABLED=true
|