Sends alerts on admin login, new registrations, user disable/delete, and impersonation. NTFY_URL and NTFY_TOKEN are optional — leave blank to disable. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
28 lines
1.5 KiB
Plaintext
28 lines
1.5 KiB
Plaintext
# Copy this file to .env and fill in your values before starting the stack.
|
|
# cp .env.example .env
|
|
|
|
# ── MySQL ─────────────────────────────────────────────────────────────────────
|
|
# Use strong random passwords — generate with: openssl rand -hex 16
|
|
MYSQL_ROOT_PASSWORD=change_me
|
|
MYSQL_DATABASE=eggtracker
|
|
MYSQL_USER=eggtracker
|
|
MYSQL_PASSWORD=change_me
|
|
|
|
# ── Super admin ───────────────────────────────────────────────────────────────
|
|
# This account is created (and its password synced) automatically on every startup.
|
|
# Use a strong password of at least 10 characters.
|
|
ADMIN_USERNAME=admin
|
|
ADMIN_PASSWORD=change_me
|
|
|
|
# ── JWT signing secret ────────────────────────────────────────────────────────
|
|
# Generate a strong random value before deploying:
|
|
# openssl rand -hex 32
|
|
JWT_SECRET=change_me
|
|
|
|
# ── Ntfy push notifications (optional) ───────────────────────────────────────
|
|
# Sends alerts for: new registrations, admin logins, user disable/delete, impersonation.
|
|
# Use https://ntfy.sh/your-secret-topic or a self-hosted ntfy URL.
|
|
# Leave blank to disable notifications entirely.
|
|
NTFY_URL=
|
|
NTFY_TOKEN=
|