# Copy this file to .env and fill in values before running locally # In Docker/Unraid, set these as container environment variables instead # Admin credentials ADMIN_USERNAME=admin ADMIN_PASSWORD= # Plain-text password # JWT JWT_SECRET= # Min 32 random chars — generate with: openssl rand -hex 32 JWT_EXPIRY=8h # Cookie security — set to true only if behind an HTTPS reverse proxy COOKIE_SECURE=false # Database — absolute path avoids Prisma CLI vs runtime resolution mismatch # In Docker this maps to the bind-mounted /app/data volume DATABASE_URL=file:/app/data/rackmapper.db # Server PORT=3001 NODE_ENV=development