-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
28 lines (22 loc) · 766 Bytes
/
.env.example
File metadata and controls
28 lines (22 loc) · 766 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
# Django Environment Configuration
# Copy this file to .env and fill in your actual values
# Environment (development, production, staging)
DJANGO_ENVIRONMENT=development
# Django Settings
SECRET_KEY=your-secret-key-here
DEBUG=True
ALLOWED_HOSTS=127.0.0.1,localhost
# Database Configuration
DJANGO_DB_ENGINE=django.db.backends.postgresql
DJANGO_DB_NAME=mydb
DJANGO_DB_USER=myuser
DJANGO_DB_PASSWORD=mypassword
DJANGO_DB_HOST=localhost
DJANGO_DB_PORT=5432
# CORS Configuration
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:9000
# JWT Configuration
JWT_ISSUER=http://localhost:8000
# Cookie Security Settings (automatically set based on DJANGO_ENVIRONMENT)
# For development: SECURE=False, SAMESITE=Lax
# For production: SECURE=True, SAMESITE=None