-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.env.docker
More file actions
28 lines (22 loc) · 779 Bytes
/
Copy path.env.docker
File metadata and controls
28 lines (22 loc) · 779 Bytes
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
# Docker Compose Environment Variables
# Copy this file to .env and update with your actual values
# WARNING: Never commit the .env file with real secrets!
# Backend Configuration
PORT=3000
MONGODB_URI=mongodb://mongodb:27017
# JWT Secrets - MUST be changed in production!
ACCESS_TOKEN_SECRET=change-this-to-a-secure-random-string
ACCESS_TOKEN_EXPIRY=1d
REFRESH_TOKEN_SECRET=change-this-to-another-secure-random-string
REFRESH_TOKEN_EXPIRY=10d
# CORS
CORS_ORIGIN=http://localhost:5173
# Email Configuration
AUTH_EMAIL=your-email@example.com
AUTH_PASSWORD=your-email-app-password
# Cloudinary Configuration
CLOUDINARY_CLOUD_NAME=your-cloud-name
CLOUDINARY_API_KEY=your-api-key
CLOUDINARY_API_SECRET=your-api-secret
# Frontend Configuration
VITE_API_URL=http://localhost:3000