forked from eecs-autograder/autograder-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_prod.env
51 lines (41 loc) · 1.4 KB
/
_prod.env
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
DJANGO_SETTINGS_MODULE=autograder.settings.production
MEDIA_ROOT=/usr/src/app/media_root
# UPDATE THIS
ALLOWED_HOSTS=autograder.io
# UPDATE THIS
SITE_DOMAIN=autograder.io
## Uncomment and UPDATE THESE
## The "from" address for submission email receipts
## Change these in accordance with your SMTP server config
# EMAIL_HOST=localhost
# EMAIL_HOST_PASSWORD=
# EMAIL_HOST_USER=
# EMAIL_PORT=25
# Remember to add this file (download from google dev console) and update path here.
# The file should be put somewhere inside the autograder-server directory,
# preferrably in autograder-server/autograder/settings
# UPDATE THIS
OAUTH2_SECRETS_FILENAME=oauth2_secrets.json
AG_DB_NAME=postgres
AG_DB_USER=postgres
# UPDATE THIS
AG_DB_PASSWORD=postgres
AG_DB_HOST=postgres
AG_DB_PORT=5432
AG_REDIS_HOST=redis
AG_REDIS_PORT=6379
AG_CELERY_BROKER_URL=amqp://guest@rabbitmq:5672//
AG_CELERY_RESULTS_BACKEND_URL=redis://redis:6379/0
## Sandbox image building settings. Uncomment to override defaults.
# IMAGE_BUILD_MEMORY_LIMIT=4g
# IMAGE_BUILD_NPROC_LIMIT=1000
## Timeout in seconds
# IMAGE_BUILD_TIMEOUT=600
## autograder-sandbox library settings. Uncomment to override defaults.
## See https://docs.docker.com/config/containers/resource_constraints/#memory
## for allowed values
# SANDBOX_MEM_LIMIT=4g
# SANDBOX_PIDS_LIMIT=512
SANDBOX_IMAGE_REGISTRY_HOST=127.0.0.1
SANDBOX_IMAGE_REGISTRY_PORT=5001