2026-07-16 06:19:58 -04:00
|
|
|
# Project E Environment Configuration
|
|
|
|
|
# Copy this file to .env and fill in the values
|
|
|
|
|
|
2026-07-24 07:08:29 -04:00
|
|
|
# PostgreSQL Configuration
|
|
|
|
|
POSTGRES_PASSWORD=replace-with-a-long-random-password
|
|
|
|
|
DATABASE_URL=postgresql://project_e:replace-with-a-long-random-password@localhost:5432/project_e
|
|
|
|
|
|
|
|
|
|
# Authentication
|
|
|
|
|
NEXTAUTH_SECRET=replace-with-a-long-random-secret
|
|
|
|
|
INITIAL_ADMIN_EMAIL=admin@example.com
|
|
|
|
|
INITIAL_ADMIN_PASSWORD=replace-with-a-long-random-password
|
2026-07-16 06:19:58 -04:00
|
|
|
|
|
|
|
|
# Application Configuration
|
|
|
|
|
NODE_ENV=production
|
|
|
|
|
|
|
|
|
|
# Public URL (the domain you access Project E through NPM)
|
|
|
|
|
# Example: http://project-e.local or https://project-e.yourdomain.com
|
|
|
|
|
# This is used for generating absolute URLs in emails, webhooks, etc.
|
|
|
|
|
PUBLIC_URL=http://localhost:3000
|
|
|
|
|
|
|
|
|
|
# Cookie Security
|
|
|
|
|
# Set to 'true' if using HTTPS through NPM, 'false' for HTTP-only LAN access
|
|
|
|
|
COOKIE_SECURE=false
|
|
|
|
|
|
|
|
|
|
# Allowed Hosts (comma-separated list of domains that can access the app)
|
|
|
|
|
# Example: project-e.local,project-e.yourdomain.com,localhost
|
|
|
|
|
ALLOWED_HOSTS=localhost,project-e.local
|