-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
43 lines (36 loc) · 1.09 KB
/
.env.example
File metadata and controls
43 lines (36 loc) · 1.09 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
# ========================================
# Task Management API - Environment Variables
# ========================================
# Application
NODE_ENV=production
PORT=3000
# Database (PostgreSQL)
DB_HOST=postgres
DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=your-secure-password-here
DB_DATABASE=task_management
# Redis Cache
REDIS_HOST=redis
REDIS_PORT=6379
# JWT Authentication
# IMPORTANT: Generate a strong secret for production!
# Example: openssl rand -base64 32
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
JWT_EXPIRATION=7d
# File Upload
MAX_FILE_SIZE=5242880
# pgAdmin (Optional - for development)
PGADMIN_EMAIL=admin@admin.com
PGADMIN_PASSWORD=admin
PGADMIN_PORT=5050
# ========================================
# Production Security Checklist:
# ========================================
# [ ] Change all default passwords
# [ ] Generate strong JWT_SECRET
# [ ] Use environment-specific values
# [ ] Never commit .env to version control
# [ ] Use secrets management in production
# ========================================
# Note: This file is for production environment settings.