forked from GNOME-Nepal/site-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.example
36 lines (28 loc) · 884 Bytes
/
env.example
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
# for django server
DJANGO_SECRET_KEY="qwrewe3r234234=-=-+234wwrerererer"
# for application
CACHE_HOST="redis://localhost:6379/0"
CELERY_BROKER_URL="django-db"
DB_NAME="postgres"
DB_USER="postgres"
DB_PASSWORD="postgres"
DB_HOST="127.0.0.1"
DB_PORT="5432"
SENTRY_DSN=""
DJANGO_DEBUG="FALSE" # use TRUE for true
LOG_PATH= "logs"
# use hostnames by comma separated values
DJANGO_ALLOWED_HOSTS="127.0.0.1,localhost"
# for docker file
DJANGO_ADMIN_USERNAME="gnome_admin"
DJANGO_ADMIN_PASSWORD="admin12345"
DJANGO_ADMIN_EMAIL="[email protected]"
DOCKERFILE_TARGET="development" # either development or production, look into dockerfile for target
# for flower
FLOWER_USERNAME="flower_user"
FLOWER_PASSWORD="flower_password"
# Trusted origins for CSRF protection
DJANGO_CSRF_TRUSTED_ORIGINS=https://nepal.gnome.org
# Static and Media Files
STATIC_ROOT="staticfiles"
MEDIA_ROOT="media"