-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.template
44 lines (32 loc) · 1.21 KB
/
config.template
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
# Allow DEBUG mode. Don't run with debug turned on in production!
DEBUG=${DEBUG}
# Enable eddl CS_GPU computing service
EDDL_WITH_CUDA=${EDDL_WITH_CUDA}
# Set SECRET_KEY. Keep the secret key used in production secret!
SECRET_KEY="${SECRET_KEY}"
# Comma separated allowed hosts
ALLOWED_HOSTS="${ALLOWED_HOSTS}"
# Comma separated CORS domains
CORS_ORIGIN_WHITELIST="${CORS_ORIGIN_WHITELIST}"
# Database connection settings
# DATABASE_URL="${DATABASE_URL}" # defined on docker-compose file
# DATABASE_URL=psql://urser:[email protected]:8458/database # PostgreSQL DB
# Relative path for static resources
STATIC_URL='/backend/static/'
# Base url to serve media files
MEDIA_URL='/backend/media/'
# Data directory
DATA_DIR="${DATA_DIR}"
# RabbitMQ Credentials
# see https://hub.docker.com/_/rabbitmq
# RABBITMQ_BROKER_URL='amqp://guest:guest@localhost'
# Celery settings
CELERY_ACCEPT_CONTENT="${CELERY_ACCEPT_CONTENT}" # list of comma separated values
CELERY_RESULT_BACKEND="${CELERY_RESULT_BACKEND}"
CELERY_TASK_SERIALIZER="${CELERY_TASK_SERIALIZER}"
# OAuth settings
DRFSO2_PROPRIETARY_BACKEND_NAME='GithubOAuth2'
DRFSO2_URL_NAMESPACE='social'
# GitHub configuration
SOCIAL_AUTH_GITHUB_KEY=''
SOCIAL_AUTH_GITHUB_SECRET=''