Some checks failed
ParentFlow CI/CD Pipeline / Backend Tests (push) Has been cancelled
ParentFlow CI/CD Pipeline / Frontend Tests (push) Has been cancelled
ParentFlow CI/CD Pipeline / Security Scanning (push) Has been cancelled
ParentFlow CI/CD Pipeline / Build Docker Images (map[context:maternal-app/maternal-app-backend dockerfile:Dockerfile.production name:backend]) (push) Has been cancelled
ParentFlow CI/CD Pipeline / Build Docker Images (map[context:maternal-web dockerfile:Dockerfile.production name:frontend]) (push) Has been cancelled
ParentFlow CI/CD Pipeline / Deploy to Development (push) Has been cancelled
ParentFlow CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / Lint and Test (push) Has been cancelled
CI/CD Pipeline / E2E Tests (push) Has been cancelled
CI/CD Pipeline / Build Application (push) Has been cancelled
- PostgreSQL on dedicated server: 10.0.0.207 (postgres:a3ppq@10.0.0.207:5432/parentflow) - Application server: 10.0.0.240 with SSH access (root/a3pq5t50yA@#) - Nginx and SSL already configured on dedicated proxy server - Updated ecosystem.config.js with production database credentials - Updated .env.production.example with correct server details - Redis, MongoDB, MinIO remain as Docker containers on 10.0.0.240 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
86 lines
2.4 KiB
Plaintext
86 lines
2.4 KiB
Plaintext
# ParentFlow Production Environment Variables
|
|
# Copy this file to .env.production and update with your secure values
|
|
|
|
# Database Configuration (Dedicated PostgreSQL Server at 10.0.0.207)
|
|
DATABASE_URL=postgresql://postgres:a3ppq@10.0.0.207:5432/parentflow
|
|
|
|
# Redis Configuration (Docker on 10.0.0.240)
|
|
REDIS_PASSWORD=parentflow_redis_password_2024
|
|
|
|
# MongoDB Configuration (Docker on 10.0.0.240)
|
|
MONGO_PASSWORD=parentflow_mongo_password_2024
|
|
|
|
# MinIO (Object Storage) Configuration (Docker on 10.0.0.240)
|
|
MINIO_ROOT_USER=parentflow_minio_admin
|
|
MINIO_ROOT_PASSWORD=parentflow_minio_password_2024
|
|
|
|
# Backend Application Configuration
|
|
NODE_ENV=production
|
|
API_PORT=3020
|
|
PORT=3020
|
|
|
|
# Database Connection (Dedicated PostgreSQL Server)
|
|
DATABASE_HOST=10.0.0.207
|
|
DATABASE_PORT=5432
|
|
DATABASE_NAME=parentflow
|
|
DATABASE_USER=postgres
|
|
DATABASE_PASSWORD=a3ppq
|
|
DATABASE_SSL=false
|
|
|
|
# Redis Connection
|
|
REDIS_HOST=parentflow-redis-prod
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=parentflow_redis_password_2024
|
|
|
|
# MongoDB Connection
|
|
MONGODB_URI=mongodb://parentflow_admin:parentflow_mongo_password_2024@parentflow-mongodb-prod:27017/parentflow_ai_chat?authSource=admin
|
|
|
|
# MinIO Connection
|
|
MINIO_ENDPOINT=parentflow-minio-prod
|
|
MINIO_PORT=9000
|
|
MINIO_USE_SSL=false
|
|
MINIO_ACCESS_KEY=parentflow_minio_admin
|
|
MINIO_SECRET_KEY=parentflow_minio_password_2024
|
|
|
|
# JWT Secrets (CHANGE THESE!)
|
|
JWT_SECRET=CHANGE_THIS_TO_A_SECURE_RANDOM_STRING_64_CHARS
|
|
JWT_REFRESH_SECRET=CHANGE_THIS_TO_ANOTHER_SECURE_RANDOM_STRING_64_CHARS
|
|
|
|
# CORS Configuration
|
|
CORS_ORIGIN=https://web.parentflowapp.com,https://api.parentflowapp.com
|
|
|
|
# API Configuration
|
|
API_URL=https://api.parentflowapp.com
|
|
|
|
# Frontend Configuration
|
|
NEXT_PUBLIC_API_URL=https://api.parentflowapp.com
|
|
NEXT_PUBLIC_GRAPHQL_URL=https://api.parentflowapp.com/graphql
|
|
NEXT_PUBLIC_WS_URL=wss://api.parentflowapp.com/ws
|
|
|
|
# OpenAI API (for AI features)
|
|
OPENAI_API_KEY=your-openai-api-key-here
|
|
|
|
# Email Configuration (for notifications)
|
|
SMTP_HOST=smtp.example.com
|
|
SMTP_PORT=587
|
|
SMTP_USER=noreply@parentflowapp.com
|
|
SMTP_PASSWORD=your-smtp-password
|
|
SMTP_FROM=ParentFlow <noreply@parentflowapp.com>
|
|
|
|
# Application Settings
|
|
APP_URL=https://web.parentflowapp.com
|
|
APP_NAME=ParentFlow
|
|
|
|
# Logging
|
|
LOG_LEVEL=info
|
|
LOG_FORMAT=json
|
|
|
|
# Security
|
|
SESSION_SECRET=CHANGE_THIS_TO_A_SECURE_RANDOM_STRING
|
|
RATE_LIMIT_MAX=100
|
|
RATE_LIMIT_WINDOW_MS=60000
|
|
|
|
# Feature Flags
|
|
ENABLE_ANALYTICS=true
|
|
ENABLE_AI_CHAT=true
|
|
ENABLE_VOICE_COMMANDS=true |