# ── Bill Tracker — Environment Variables ────────────────────────────────────── # Copy this file to .env and fill in your values before deploying. # Docker Compose reads .env automatically. # For direct Node.js: NODE_ENV=production node server.js (or use PM2). # ── Server ───────────────────────────────────────────────────────────────────── PORT=3000 NODE_ENV=production # ── Data paths (used by both Docker and direct deployments) ─────────────────── # Docker: these are set in the Dockerfile; override here only if needed. # Direct: set these to absolute paths on the server. # # DB_PATH=/opt/bill-tracker/data/db/bills.db # BACKUP_PATH=/opt/bill-tracker/data/backups # ── First-run admin account ──────────────────────────────────────────────────── # Set BOTH on first start to create the admin account automatically. # Remove or comment out after the server has started once — they are not # needed again. Open the web UI afterward to create your first user account. # # INIT_ADMIN_USER=admin # INIT_ADMIN_PASS=changeme123