forked from pratapVansh/CPMS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.dev.example
More file actions
56 lines (47 loc) · 1.91 KB
/
Copy path.env.dev.example
File metadata and controls
56 lines (47 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Development Environment Template
# Copy this file to .env.dev and fill in your values
# ============================================
# Environment Configuration
# ============================================
NODE_ENV=production # Still "production" for Next.js optimizations
# ============================================
# Docker Configuration
# ============================================
DOCKER_REGISTRY=ghcr.io/YOUR_GITHUB_USERNAME
IMAGE_TAG=dev # Dev environment uses 'dev' tag
# For GitHub Actions deployment
GITHUB_USERNAME=YOUR_GITHUB_USERNAME
GITHUB_TOKEN=ghp_XXXXXXXXXXXXXXXX
# ============================================
# Database Configuration (AWS RDS Dev)
# ============================================
DATABASE_URL=postgresql://cpmsadmin:YOUR_PASSWORD@your-dev-rds-endpoint.region.rds.amazonaws.com:5432/postgres?schema=public
# ============================================
# Redis Configuration (EC2 Local)
# ============================================
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=
# ============================================
# JWT Configuration
# ============================================
JWT_SECRET=DEV_SECRET_DIFFERENT_FROM_PROD
JWT_EXPIRES_IN=7d
# ============================================
# CORS Configuration
# ============================================
# Add your Vercel preview URL
CORS_ORIGIN=https://your-project-dev.vercel.app,http://localhost:3000
# ============================================
# Cloudinary Configuration
# ============================================
# Can use same Cloudinary or separate dev account
CLOUDINARY_CLOUD_NAME=your-cloud-name
CLOUDINARY_API_KEY=123456789012345
CLOUDINARY_API_SECRET=your-api-secret-here
# ============================================
# Super Admin (Initial Setup Only)
# ============================================
SUPER_ADMIN_NAME=Dev Admin
SUPER_ADMIN_EMAIL=dev-admin@yourdomain.com
SUPER_ADMIN_PASSWORD=DevPassword123!