Files
rack-planner/.env.example
jason 231de3d005 Initial scaffold: full-stack RackMapper application
Complete project scaffold with working auth, REST API, Prisma/SQLite
schema, Docker config, and React frontend for both Rack Planner and
Service Mapper modules. Both server and client pass TypeScript strict
mode with zero errors. Initial migration applied.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 21:48:56 -05:00

18 lines
533 B
Plaintext

# 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_HASH= # Generate with: npx ts-node scripts/hashPassword.ts yourpassword
# JWT
JWT_SECRET= # Min 32 random chars — generate with: openssl rand -hex 32
JWT_EXPIRY=8h
# Database (relative path inside container; bind-mounted to ./data/)
DATABASE_URL=file:./data/rackmapper.db
# Server
PORT=3001
NODE_ENV=development