-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
24 lines (19 loc) · 900 Bytes
/
.env.example
File metadata and controls
24 lines (19 loc) · 900 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
# Copy to .env for local development. Never commit .env.
#
# Docker Compose picks up .env automatically. The harness binary
# reads DB_DSN and CONTROL_TOKEN directly from environment or the
# env file specified in its systemd unit (production).
# MySQL (uptime-bench)
MYSQL_ROOT_PASSWORD=devpassword
MYSQL_PASSWORD=devpassword
MYSQL_PORT=3306
# Adminer web UI
ADMINER_PORT=8081
# Harness — local dev DSN. For production, set this in /etc/uptime-bench/harness.env.
DB_DSN=uptime_bench:devpassword@tcp(127.0.0.1:3306)/uptime_bench?parseTime=true
# Shared token for harness-to-fleet control API authentication.
# All fleet members must be configured with the same value.
# Generate with: openssl rand -hex 32
CONTROL_TOKEN=dev-insecure-token-replace-before-use
# Monitoring service credentials live in services.toml, not here.
# Copy services.example.toml to services.toml to configure services.