-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
76 lines (58 loc) · 2.85 KB
/
.env.example
File metadata and controls
76 lines (58 loc) · 2.85 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# BeeBuzz environment variables (dev-first template)
# Copy this file to .env:
# cp .env.example .env
# =============================================================================
# Required for local dev startup (`mise run dev`)
# =============================================================================
# Environment: development | test | production
BEEBUZZ_ENV=development
# VAPID keys are required by the server in every environment.
# Generate once with:
# go run ./cmd/server vapid generate
#
BEEBUZZ_VAPID_PRIVATE_KEY=
BEEBUZZ_VAPID_PUBLIC_KEY=
# =============================================================================
# Common dev settings (recommended)
# =============================================================================
# Base domain used to derive site/api/hive/push/hook hosts.
# Note: `mise run dev` may auto-detect and export a `*.lancert.dev` domain.
BEEBUZZ_DOMAIN=example.com
# Restrict sign-in flow to private beta behavior.
BEEBUZZ_PRIVATE_BETA=true
# Optional admin bootstrap email promoted after successful OTP verification.
# BEEBUZZ_BOOTSTRAP_ADMIN_EMAIL=owner@example.com
# =============================================================================
# Optional in dev (often needed in production)
# =============================================================================
# Trusted reverse proxy subnet (CIDR). Leave empty for direct connections.
# BEEBUZZ_PROXY_SUBNET=172.20.0.0/16
# Secret salt used for hashing client IPs (required in production).
# BEEBUZZ_IP_HASH_SALT=change-me-in-production
# HTTP header name for request ID propagation. Defaults to "X-Request-ID".
# Set to match the reverse proxy convention (e.g. Traefik uses "X-Request-Id").
# BEEBUZZ_REQUEST_ID_HEADER=X-Request-Id
# Optional storage overrides (defaults are ./data/db and ./data/attachments).
# BEEBUZZ_DB_DIR=/var/lib/beebuzz/db
# BEEBUZZ_ATTACHMENTS_DIR=/var/lib/beebuzz/attachments
# =============================================================================
# Mailer
# =============================================================================
# Sender identity
BEEBUZZ_MAILER_SENDER=noreply@example.com
BEEBUZZ_MAILER_REPLY_TO=support@example.com
# Dev note: `./.mise.toml` already provides SMTP defaults for local Mailpit:
# BEEBUZZ_MAILER_SMTP_ADDRESS=localhost:1025
# BEEBUZZ_MAILER_SMTP_USER=dev
# BEEBUZZ_MAILER_SMTP_PASSWORD=dev
# You can still set them in .env to override if needed:
# BEEBUZZ_MAILER_SMTP_ADDRESS=localhost:1025
# BEEBUZZ_MAILER_SMTP_USER=dev
# BEEBUZZ_MAILER_SMTP_PASSWORD=dev
# Alternative mail transport (typically production)
BEEBUZZ_MAILER_RESEND_API_KEY=
# =============================================================================
# Monitoring (Sentry/GlitchTip)
# =============================================================================
# DSN for error monitoring. Empty = disabled.
# BEEBUZZ_SENTRY_DSN=