-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.example.local
47 lines (36 loc) · 1.27 KB
/
env.example.local
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
46
47
# General
# ------------------------------------------------------------------------------
USE_DOCKER=True
IPYTHONDIR=/app/.ipython
DJANGO_SETTINGS_MODULE=config.settings.local
DJANGO_SECRET_KEY=
DJANGO_ADMIN_URL=
DJANGO_ALLOWED_HOSTS=.example.com
DJANGO_DEBUG=True
# Security
# ------------------------------------------------------------------------------
# TIP: better off using DNS, however, redirect is OK too
DJANGO_SECURE_SSL_REDIRECT=False
DATABASE_URL=postgres://postgres:password@host:port/db_name
# django-allauth
# ------------------------------------------------------------------------------
DJANGO_ACCOUNT_ALLOW_REGISTRATION=True
# Redis
# ------------------------------------------------------------------------------
# REDIS_URL=redis://redis:6379/0
# Celery
# ------------------------------------------------------------------------------
# CELERY_BROKER_URL=redis://localhost:6379/0
# PostgreSQL / for Docker
# ------------------------------------------------------------------------------
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
POSTGRES_DB=postgres
POSTGRES_USER=postgres
POSTGRES_PASSWORD=
# Gunicorn
# ------------------------------------------------------------------------------
WEB_CONCURRENCY=4
# Flower
CELERY_FLOWER_USER=debug
CELERY_FLOWER_PASSWORD=debug