forked from tl-its-umich-edu/canvas-app-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.sample
68 lines (47 loc) · 1.94 KB
/
.env.sample
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
##### Required values
# Django Secret key. Run the command below to generate and insert this.
# You should set this to production but the start script generates one each time if not set
# python -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'
# DJANGO_SECRET_KEY=<some secret key, randomized by default>
# Canvas OAuth Config
# (required) The client id is the integer client id value of your Canvas developer key.
# CANVAS_OAUTH_CLIENT_ID=
# (required) The client secret is the random string (secret) value of your Canvas developer key.
# CANVAS_OAUTH_CLIENT_SECRET=
# (required) The domain of your canvas instance (e.g. canvas.instructure.com)
# CANVAS_OAUTH_CANVAS_DOMAIN=
##### Optional configuration for defining hosts
# Need to define this if using ngrok or other hosts
ALLOWED_HOSTS=.ngrok.io,.localhost,127.0.0.1
# This is needed for Webpack if youŕe using NGrok and it has to be the URL to the frontend (which is what's running on port 3000)
# You can leave this undefined if you're not using ngrok and it will default to the value in docker-compose.yml or /static/bundles/
# PUBLIC_PATH=https://1234567abcdef.ngrok.io/dist/
##### Database configuration values
# Database host
# DB_HOST=canvas_app_explorer_mysql
# Database server port
# DB_PORT=3306
# Database name
# DB_NAME=canvas_app_explorer_local
# Database user
# DB_USER=cae_user
# Database Password
# DB_PASSWORD=cae_pw
##### Gunicorn server options
# Number of workers to start
# GUNICORN_WORKERS=4
# Whether to reload or not
# GUNICORN_RELOAD=--reload
# Gunicorn Timeout value
# GUINCORN_TIMEOUT=120
# Gunicorn port
# GUNICORN_PORT=5000
###### Local Debugging options
# For local debugging, not yet implemented. Sets Gunicorn to reload with 1 worker
# DEBUGPY_ENABLE=true
# Currently needed for localhost, probably will just combine with DEBUGPY_ENABLE
# DEBUG=True
# Django log level
# DJANGO_LOG_LEVEL=INFO
# Root Log Level
# ROOT_LOG_LEVEL=INFO