# ============================================================================= # NetForge Environment Variables # ============================================================================= # Copy this file to .env and fill in your values. # Never commit .env to version control. # ============================================================================= # DATABASE # ============================================================================= # Use this URL when running the app INSIDE Docker (app service connects to db service) DATABASE_URL=postgresql://netforge:netforge_dev@db:5432/netforge_dev # Use this URL when running Prisma commands FROM THE HOST (e.g., npx prisma db push, npx prisma studio) # The host connects to PostgreSQL exposed on localhost:5432 DATABASE_URL_LOCAL=postgresql://netforge:netforge_dev@localhost:5432/netforge_dev # ============================================================================= # REDIS # ============================================================================= # Use when running inside Docker REDIS_URL=redis://redis:6379 # Use when connecting from host REDIS_URL_LOCAL=redis://localhost:6379 # ============================================================================= # AUTHENTICATION # ============================================================================= # Change this to a long random string in production! # Generate with: openssl rand -base64 32 NEXTAUTH_SECRET=dev-secret-change-in-production NEXTAUTH_URL=http://localhost:3000 # ============================================================================= # APPLICATION # ============================================================================= NODE_ENV=development