-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdev.cfg
40 lines (27 loc) · 862 Bytes
/
dev.cfg
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
import secrets
DEBUG = False
# http://docs.mongoengine.org/guide/connecting.html#guide-connecting
MONGO_DB = 'mongodb://localhost/nebula'
TOKEN_LIFETIME = 60 * 60 # 1 hour
# Generate this for your installation and keep it secret.
JWT_SECRET = secrets.token_bytes(128)
ARGON2_ROUNDS = 20
SMTP_SSL = False
SMTP_STARTTLS = False
SMTP_HOST = 'localhost'
SMTP_PORT = 25
SMTP_USER = None
SMTP_PASSWORD = None
MAIL_SENDER = '[email protected]'
FILE_STORAGE = './uploads'
# Upload limit
MAX_CONTENT_LENGTH = 5 * 1024**3 # 5 GB
MIME_BLACKLIST = ['application/x-dosexec']
ADMIN_MAIL = '[email protected]'
# These users are allowed to submit download URLs instead of uploading
URLS_FOR = ['SirKnightly']
# Set to None to deactivate
DISCORD_WEBHOOK = None
DISCORD_NICK = 'Nebula'
DL_SERVER = 'https://cf.fsnebula.org/storage'
DL_MIRRORS = [DL_SERVER]