config.py.example 1.15 KB
Newer Older
1
# Defaults for development ,do not use in production!
2
DEBUG = False
3
SERVER_IP = 'localhost'
4
VIDEOPREFIX = 'https://videoag.fsmpi.rwth-aachen.de'
Andreas Valder's avatar
Andreas Valder committed
5
VIDEOMOUNT = [{'mountpoint': 'files/protected/', 'prefix':'protected/'},{'mountpoint':'files/pub/','prefix':'pub/' }, {'mountpoint':'files/vpnonline/','prefix':'vpnonline/' }]
6
#SECRET_KEY = 'something random'
Julian Rother's avatar
Julian Rother committed
7

8
9
10
11
DB_SCHEMA = 'db_schema.sql'
DB_DATA = 'db_example.sql'

#DB_ENGINE = 'mysql'
Julian Rother's avatar
Julian Rother committed
12
13
#MYSQL_HOST = 'localhost'
#MYSQL_USER = 'videoag'
14
15
#MYSQL_PORT = 3306
#MYSQL_UNIX = '/var/run/mysqld/mysqld.sock'
Julian Rother's avatar
Julian Rother committed
16
17
18
19
#MYSQL_PASSWD = 'somuchsecret'
#MYSQL_DB = 'videos'

DB_ENGINE = 'sqlite'
20
SQLITE_DB = 'db.sqlite'
21
SQLITE_INIT_SCHEMA = True
22
SQLITE_INIT_DATA = True
23

Andreas Valder's avatar
Andreas Valder committed
24
25
#JOBS_API_KEY = 'something random'

26
#LDAP_HOST = 'auth.fsmpi.rwth-aachen.de'
Julian Rother's avatar
Julian Rother committed
27
LDAP_PORT = 636
28
LDAP_GROUPS = ['fachschaft']
29
#ICAL_URL = 'https://user:password@mail.fsmpi.rwth-aachen.de/SOGo/....ics'
30
ERROR_PAGE = 'static/500.html'
31
RWTH_IP_RANGES = ['134.130.0.0/16', '137.226.0.0/16', '134.61.0.0/16', '192.35.229.0/24', '2a00:8a60::/32']
32
FSMPI_IP_RANGES = ['137.226.35.192/29', '137.226.75.0/27', '137.226.127.32/27', '137.226.231.192/26', '134.130.102.0/26' ]
33
DISABLE_SCHEDULER = False