-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsettings.py
45 lines (37 loc) · 1.13 KB
/
settings.py
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
# -*- coding: utf-8 -*-
import os
APP_HOST = '0.0.0.0'
APP_PORT = 5000
APP_DEBUG = True
APP_SESSION_KEY = 'super-secret'
CSRF_ENABLED = True
ASSETS_DEBUG = True
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
REDIS_HOST = os.environ.get('REDIS_HOST', 'localhost:6379')
DATABASE_URI = 'postgresql://postgres:postgres@db:5432/guildbit'
BROKER_URL = 'redis://%s/0' % REDIS_HOST
CELERY_RESULT_BACKEND = 'redis://%s/0' % REDIS_HOST
CACHE_BACKEND = 'redis'
CACHE_REDIS_URL = 'redis://%s/2' % REDIS_HOST
# Murmur default settings
DEFAULT_MAX_USERS = 15
DEFAULT_CHANNEL_NAME = 'GuildBit.com Mumble Server'
DEFAULT_MURMUR_PORT = 50000 # Murmur server port
SERVER_EXTENSIONS_MAX = 3 # Max allowed time extensions for free servers
MAIL_SERVER = 'email-smtp.us-east-1.amazonaws.com'
MAIL_PORT = 587
MAIL_USE_TLS = True
MAIL_USE_SSL = True
MAIL_USERNAME = ''
MAIL_PASSWORD = ''
DEFAULT_MAIL_SENDER = 'no-reply@guildbit.com'
EMAIL_RECIPIENTS = ['alf.g.jr@gmail.com']
OPENID_PROVIDERS = [
{'name': 'Steam', 'url': 'http://steamcommunity.com/openid'}
]
STEAM_API_KEY = 'XXXXXX'
LANGUAGES = {
'en': 'English',
'fr': 'français',
'sw': 'Kiswahili'
}