-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.env
More file actions
36 lines (30 loc) · 700 Bytes
/
sample.env
File metadata and controls
36 lines (30 loc) · 700 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
29
30
31
32
33
34
35
36
# Django Settings
DEBUG=True
SECRET_KEY=change-me-in-production-generate-a-new-key
DJANGO_SETTINGS_MODULE=config.settings.dev
# Site Configuration
ADMIN_URL=admin/
TIME_ZONE=UTC
LANGUAGE_CODE=en
SITE_ID=1
SITE_NAME=DjangoAIO
BASE_URL=http://localhost:8000
ALLOWED_HOSTS=localhost,127.0.0.1
# Database Configuration
DEVDB_URL=sqlite:///db.sqlite3
PRODB_URL=postgres://djangoaio:djangoaio@db:5432/djangoaio
# Docker Compose Database
POSTGRES_USER=djangoaio
POSTGRES_PASSWORD=djangoaio
POSTGRES_DB=djangoaio
# Redis Configuration
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_DB=0
# Server Configuration
PORT=8000
WORKERS=4
LOG_LEVEL=info
# Celery Configuration
CELERY_LOG_LEVEL=info
CELERY_CONCURRENCY=4