forked from UCL-INGI/INGInious
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.example.yaml
68 lines (55 loc) · 2.02 KB
/
configuration.example.yaml
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
# Backend
# Can be:
# - "local" (run containers on the same machine)
# - or an address to a distant manually-launched backend, in the form "tcp://host.be:3000", "udp://host.be:3000" or "ipc:///path/to/socket"
backend: local
# Logging level
log_level: INFO
# Display errors? Possible values:
# - false : do not display the error outside the log
# - true : display the error directly in the browser. useful when debugging locally, but dangerous in production,
# as it may expose passwords and other sensitive data
# - "[email protected]": send error report to the indicated email
web_debug: false
# Only for backend: local
local-config:
# debug_host: localhost # host that will be indicated to users when they want to use the task remote debug feature. Automatically guessed by
# default
debug_ports: 64000-64100 #port range use for remote debug feature
# MongoDB options
mongo_opt:
host: localhost
database: INGInious
# Location of the task directory
tasks_directory: ./inginious/tasks
# Use single minified javascript file (production) or multiple files (dev) ?
use_minified_js: true
# URL of a node app INGInious-xterm, properly configured, that allows to run in-browser ssh debug
# If you don't want to install/activate it, just set it to None or remove it from the file
webterm: "https://my-host.be:8080"
# Location of the backup directory (webapp)
backup_directory: ./inginious/backup
# Plugins that will be loaded by the webapp
plugins:
- plugin_module: inginious.frontend.plugins.auth.demo_auth
users:
# register the user "test" with the password "test"
test: test
# Superadmins: list of user names that are administrators on all courses
superadmins:
- test
# Disable INGInious?
maintenance: false
# Email info
smtp:
sendername: 'INGInious <[email protected]>'
host: 'smtp.gmail.com'
port: 587
username: '[email protected]'
password: 'secret'
starttls: True
#reverse proxy fix
reverse-proxy-config:
enable: false
x_for: 1
x_host: 1