40 lines
978 B
Plaintext
40 lines
978 B
Plaintext
# Email Configuration for User Auth Service
|
|
# Copy this file to .env and fill in your actual values
|
|
|
|
# SMTP Configuration (Option 1)
|
|
SMTP_HOST=smtp.gmail.com
|
|
SMTP_PORT=587
|
|
SMTP_SECURE=false
|
|
SMTP_USER=your-email@gmail.com
|
|
SMTP_PASS=your-app-password
|
|
SMTP_FROM=your-email@gmail.com
|
|
|
|
# Gmail Configuration (Option 2 - Alternative to SMTP)
|
|
GMAIL_USER=your-email@gmail.com
|
|
GMAIL_APP_PASSWORD=your-app-password
|
|
|
|
# Service Configuration
|
|
PORT=8011
|
|
NODE_ENV=development
|
|
FRONTEND_URL=https://dashboard.codenuk.com
|
|
AUTH_PUBLIC_URL=https://backend.codenuk.com
|
|
|
|
# Database Configuration
|
|
POSTGRES_HOST=postgres
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_DB=dev_pipeline
|
|
POSTGRES_USER=pipeline_admin
|
|
POSTGRES_PASSWORD=your_database_password
|
|
|
|
# Redis Configuration
|
|
REDIS_HOST=redis
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=your_redis_password
|
|
|
|
# JWT Configuration
|
|
JWT_ACCESS_SECRET=your_access_secret_key
|
|
JWT_REFRESH_SECRET=your_refresh_secret_key
|
|
JWT_ACCESS_EXPIRY=24h
|
|
JWT_ADMIN_ACCESS_EXPIRY=7d
|
|
JWT_REFRESH_EXPIRY=7d
|