-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
50 lines (40 loc) · 1.01 KB
/
.env.example
File metadata and controls
50 lines (40 loc) · 1.01 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
# INSTRUCTIONS FOR TEAM
# 1) Copy this file to ".env"
# 2) Keep LOCAL values active for Docker Compose development
# 3) Keep production values only in your hosting platform (Render env vars)
# LOCAL DOCKER (ACTIVE)
# Backend (.env in root, read by NestJS)
# Database (PostgreSQL)
DATABASE_HOST=postgres
DATABASE_PORT=5432
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=surplus_db
# DB_SSL=false
# Redis
REDIS_HOST=redis
REDIS_PORT=6379
# REDIS_PASSWORD=
# REDIS_USERNAME=
# REDIS_TLS=false
# REDIS_URL=
# Authentication
# JWT_SECRET=your_jwt_secret_here
# Server
# PORT=3000
# FRONTEND_URL=http://localhost:5173
# Admin Seeder
# SUPER_ADMIN_EMAIL=admin@surplussync.com
# SUPER_ADMIN_PASSWORD=SecureAdmin123!
# Cloudinary (image uploads)
# CLOUDINARY_CLOUD_NAME=
# CLOUDINARY_API_KEY=
# CLOUDINARY_API_SECRET=
# Email / SMTP
# SMTP_HOST=
# SMTP_PORT=587
# SMTP_USER=
# SMTP_PASS=
# SMTP_FROM=noreply@surplussync.app
# Frontend (.env in frontend, Vite reads VITE_* prefix)
# VITE_API_URL=http://localhost:3000