-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.env.example
More file actions
65 lines (52 loc) · 2.39 KB
/
.env.example
File metadata and controls
65 lines (52 loc) · 2.39 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
57
58
59
60
61
62
63
64
65
# PaymentLaterAPI Environment Variables Template
# Copy this file to .env and update with your actual values
# IMPORTANT: Never commit .env file to version control!
# =============================================================================
# DATABASE CONFIGURATION
# =============================================================================
# MongoDB root credentials
MONGO_ROOT_USERNAME=admin
MONGO_ROOT_PASSWORD=your-secure-admin-password
# MongoDB database name
MONGO_DATABASE=payment_later_dev
# =============================================================================
# APPLICATION CONFIGURATION
# =============================================================================
# JWT Secret (Base64 encoded)
# Generate a secure secret: openssl rand -base64 64
JWT_SECRET_BASE64=your-base64-encoded-jwt-secret-here
# =============================================================================
# EMAIL CONFIGURATION
# =============================================================================
# Gmail SMTP Configuration
MAIL_SERVER_EMAIL=your-email@gmail.com
MAIL_SERVER_PASSWORD=your-gmail-app-password
# Alternative SMTP settings (uncomment to use)
# MAIL_SERVER_EMAIL=your-email@yourdomain.com
# MAIL_SERVER_PASSWORD=your-smtp-password
# =============================================================================
# DEVELOPMENT TOOLS
# =============================================================================
# MongoDB Express (Web UI) credentials
MONGO_EXPRESS_USERNAME=admin
MONGO_EXPRESS_PASSWORD=your-mongo-express-password
# =============================================================================
# SPRING PROFILES
# =============================================================================
# Spring active profile (dev, prod, test)
SPRING_PROFILES_ACTIVE=dev
# =============================================================================
# EXAMPLE VALUES FOR QUICK DEVELOPMENT SETUP
# =============================================================================
#
# Uncomment and modify these for quick development setup:
#
# MONGO_ROOT_USERNAME=admin
# MONGO_ROOT_PASSWORD=dev123456
# MONGO_DATABASE=payment_later_dev
# JWT_SECRET_BASE64=ZGV2LXRoaXMtaXMtYS1kZXZlbG9wbWVudC1zZWNyZXQtY2hhbmdlLWluLXByb2R1Y3Rpb24=
# MAIL_SERVER_EMAIL=test@example.com
# MAIL_SERVER_PASSWORD=test-password
# MONGO_EXPRESS_USERNAME=admin
# MONGO_EXPRESS_PASSWORD=express123
# SPRING_PROFILES_ACTIVE=dev