-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
50 lines (42 loc) · 2.68 KB
/
Copy path.env.example
File metadata and controls
50 lines (42 loc) · 2.68 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
# Lanes — environment variable reference (D-24 / PLAT-02)
#
# Copy this file to .env and fill in real values.
# NEVER commit .env — it is excluded by .dockerignore and .gitignore.
# This file contains PLACEHOLDER values only; no real secrets here.
# ── Database (src/server/config.rs) ─────────────────────────────────────────
# SQLite path; must start with sqlite://
# For Docker: use sqlite:///data/lanes.db (named volume mounted at /data)
DATABASE_URL=sqlite://data/lanes.db
# ── HTTP server (src/server/config.rs) ──────────────────────────────────────
# Bind address for Axum; leptos-options fallback: LANES_SITE_ADDR
LEPTOS_SITE_ADDR=127.0.0.1:3000
# LANES_SITE_ADDR=127.0.0.1:3000 # fallback alias for LEPTOS_SITE_ADDR
# Secure (HTTPS-only) session cookies. Default: true.
# Set to false for plain-HTTP / LAN deployments (no TLS) or logins won't stick.
COOKIE_SECURE=true
# ── Attachment storage (src/server/storage.rs) ───────────────────────────────
# Local disk provider: directory path for file uploads
STORAGE_ROOT=data/attachments
# S3 / MinIO provider: set S3_BUCKET to switch from local disk to S3-compatible storage
# All S3_* and AWS_* vars are read by the object_store crate AmazonS3Builder
S3_BUCKET=your-bucket-name
S3_ENDPOINT=https://s3.example.com
S3_ALLOW_HTTP=false
AWS_ACCESS_KEY_ID=your-access-key-id
AWS_SECRET_ACCESS_KEY=your-secret-access-key
AWS_DEFAULT_REGION=us-east-1
# ── Mailer (src/mailer/) ─────────────────────────────────────────────────────
# Default: ConsoleMailer (prints emails to stdout — safe for dev/self-host without SMTP).
# Set SMTP_* vars to switch to SMTP delivery.
# SMTP_HOST=smtp.example.com
# SMTP_PORT=587
# SMTP_USERNAME=your-smtp-username
# SMTP_PASSWORD=your-smtp-password
# SMTP_FROM=no-reply@example.com
# ── Demo seed (src/seed/mod.rs) ──────────────────────────────────────────────
# Set to "true" on first boot to load Mira's demo fixtures (D-25).
# Safe to leave set — run_seed() exits silently when users already exist.
SEED_DEMO=false
# ── Logging ──────────────────────────────────────────────────────────────────
RUST_LOG=info
# For verbose SQL tracing: RUST_LOG=sqlx=debug,info