mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 06:14:59 +00:00
44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
# Production Environment Variables
|
|
# Copy this file to .env and update with your production values
|
|
|
|
# PostgreSQL Database
|
|
POSTGRES_PASSWORD=your_super_secure_password_here
|
|
DATABASE_URL=postgresql://metabuilder:${POSTGRES_PASSWORD}@postgres:5432/metabuilder
|
|
|
|
# Redis Cache
|
|
REDIS_PASSWORD=your_redis_password_here
|
|
|
|
# DBAL Daemon
|
|
DBAL_BIND_ADDRESS=0.0.0.0
|
|
DBAL_PORT=8080
|
|
DBAL_LOG_LEVEL=info
|
|
DBAL_MODE=production
|
|
DBAL_DAEMON=true
|
|
|
|
# MetaBuilder App
|
|
NODE_ENV=production
|
|
PORT=3000
|
|
DBAL_API_URL=http://dbal-daemon:8080
|
|
|
|
# Security (generate with: openssl rand -hex 32)
|
|
JWT_SECRET=your_jwt_secret_here
|
|
SESSION_SECRET=your_session_secret_here
|
|
|
|
# Email (optional, for production)
|
|
SMTP_HOST=smtp.example.com
|
|
SMTP_PORT=587
|
|
SMTP_USER=your_email@example.com
|
|
SMTP_PASSWORD=your_smtp_password
|
|
SMTP_FROM=noreply@example.com
|
|
|
|
# Domain
|
|
DOMAIN=yourdomain.com
|
|
PROTOCOL=https
|
|
|
|
# Storage (optional, for S3/MinIO)
|
|
S3_ENDPOINT=https://s3.amazonaws.com
|
|
S3_BUCKET=metabuilder-storage
|
|
S3_ACCESS_KEY=your_access_key
|
|
S3_SECRET_KEY=your_secret_key
|
|
S3_REGION=us-east-1
|