18 lines
559 B
Bash
18 lines
559 B
Bash
# Django Secret Key (generate a new one for production!)
|
|||
|
|
DJANGO_SECRET_KEY=your-secret-key-here
|
||
|
|
|
||
|
|
# Debug mode (set to false in production!)
|
||
|
|
DJANGO_DEBUG=false
|
||
|
|
|
||
|
|
# Allowed hosts (comma-separated)
|
||
|
|
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1,your-domain.com
|
||
|
|
|
||
|
|
# Database (PostgreSQL recommended for production)
|
||
|
|
# DATABASE_URL=postgres://user:password@localhost:5432/zhangmenu
|
||
|
|
|
||
|
|
# Redis cache (recommended for production)
|
||
|
|
# REDIS_URL=redis://localhost:6379/1
|
||
|
|
|
||
|
|
# CORS allowed origins (comma-separated)
|
||
|
|
# CORS_ALLOWED_ORIGINS=http://localhost:8080,http://your-domain.com
|