-
Notifications
You must be signed in to change notification settings - Fork 2
/
config
49 lines (36 loc) · 1.15 KB
/
config
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
48
49
# Allow DEBUG mode. Don't run with debug turned on in production!
DEBUG=True
# Enable eddl CS_GPU computing service
EDDL_WITH_CUDA=False
# Set SECRET_KEY. Keep the secret key used in production secret!
SECRET_KEY=
# Comma separated allowed hosts
ALLOWED_HOSTS=
# Comma separated CORS domains
CORS_ORIGIN_WHITELIST="http://localhost:4200"
# Database connection settings - SQLite DB
DATABASE_URL=sqlite:///my-local-sqlite.db
# PostgreSQL DB
#DATABASE_URL=psql://urser:[email protected]:8458/database
# Relative path for static resources
STATIC_URL='/backend/static/'
# Base url to serve media files
MEDIA_URL='/backend/media/'
# Data directory
DATA_DIR='data'
# RabbitMQ Credentials
# see https://hub.docker.com/_/rabbitmq
RABBITMQ_BROKER_URL='amqp://guest:guest@localhost'
# Celery settings
CELERY_ACCEPT_CONTENT='json'
CELERY_RESULT_BACKEND='db+sqlite:///results.sqlite'
CELERY_TASK_SERIALIZER='json'
# OAuth settings
DRFSO2_PROPRIETARY_BACKEND_NAME='GithubOAuth2'
DRFSO2_URL_NAMESPACE='social'
# GitHub configuration
SOCIAL_AUTH_GITHUB_KEY=''
SOCIAL_AUTH_GITHUB_SECRET=''
# Email fields for password reset
EMAIL_HOST_USER=''
EMAIL_HOST_PASSWORD=''