-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
45 lines (37 loc) · 1.95 KB
/
.env.example
File metadata and controls
45 lines (37 loc) · 1.95 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
# =============================================================================
# NEXTSHOPSPHERE PRODUCTION ENVIRONMENT VARIABLES
# =============================================================================
# Copy this file to .env.production and fill in your values
# NEVER commit actual credentials to version control!
# =============================================================================
# DATABASE
# =============================================================================
DB_NAME=nextshopsphere
DB_USER=nextshop_user
DB_PASSWORD=YourSecurePassword123!
DB_ROOT_PASSWORD=YourSecureRootPassword456!
# =============================================================================
# DJANGO
# =============================================================================
# Generate: python -c "from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())"
SECRET_KEY=your-production-secret-key-here
# Your domain(s) - comma separated
ALLOWED_HOSTS=yourdomain.com,www.yourdomain.com
# CSRF trusted origins (with https://)
CSRF_TRUSTED_ORIGINS=https://yourdomain.com,https://www.yourdomain.com
# CORS allowed origins (with https://)
CORS_ALLOWED_ORIGINS=https://yourdomain.com,https://www.yourdomain.com
# =============================================================================
# FRONTEND
# =============================================================================
REACT_APP_API_URL=https://yourdomain.com/api
# =============================================================================
# EMAIL
# =============================================================================
EMAIL_HOST_USER=your-email@gmail.com
EMAIL_HOST_PASSWORD=your-app-password
# =============================================================================
# GOOGLE OAUTH
# =============================================================================
GOOGLE_OAUTH_CLIENT_ID=your-google-client-id
GOOGLE_OAUTH_CLIENT_SECRET=your-google-client-secret