-
Notifications
You must be signed in to change notification settings - Fork 11
/
defaults.yaml
40 lines (33 loc) · 1.35 KB
/
defaults.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
qabel:
drop:
DEBUG: False
ALLOWED_HOSTS:
- '*'
SECRET_KEY: '=tmcici-p92_^_jih9ud11#+wb7*i21firlrtcqh$p+d7o*49@'
# Push notifications:
PUSH_NOTIFICATORS:
- drop_service.notify.FCM
# Any errors will be logged to the drop_service.notify.fcm logger
- drop_service.notify.Redis
# Note: valid FCM_API_KEY required for drop_service.notify.FCM
# If there is none, disable it.
FCM_API_KEY: '<put your API key into site-local configuration>'
# To proxy the FCM API requests through a HTTP proxy set this to a python-requests-compatible value.
# See http://docs.python-requests.org/en/master/api/#requests.Session.proxies
FCM_PROXY: ~
# This redis instance will only be used for pubsub, and only iff the drop_service.notify.Redis
# notificator is enabled.
REDIS_HOST: localhost
REDIS_PORT: 6379
# Since pubsub uses a global channel namespace a prefix makes sense.
# The server uses {prefix}{drop ID} for the channels.
REDIS_PREFIX: drop-
DATABASES:
default:
ENGINE: django.db.backends.postgresql
NAME: qabel-drop
USER: qabel-drop
uwsgi:
http-socket: :5000
enable-threads: yes
gevent: 100