-
Notifications
You must be signed in to change notification settings - Fork 10
/
development.ini
133 lines (106 loc) · 2.97 KB
/
development.ini
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
###
# app configuration
# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html
###
[app:main]
use = egg:Phoenix
pyramid.reload_templates = false
pyramid.debug_authorization = false
pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.default_locale_name = en
pyramid.includes =
pyramid_layout
pyramid_deform
# deform
pyramid_deform.template_search_path = phoenix:geoform/templates
# mongodb
mongodb.host = localhost
mongodb.port = 27027
mongodb.db_name = phoenix_db
# beaker: session and cache
# http://docs.pylonsproject.org/projects/pyramid-beaker/en/latest/
session.type = file
session.data_dir = /Users/pingu/birdhouse/var/cache/phoenix/sessions/data
session.lock_dir = /Users/pingu/birdhouse/var/cache/phoenix/sessions/lock
session.key = phoenix_session
session.secret = d5e8417934247ccb6cdbdb5144e3b130
session.cookie_on_exception = true
# TODO: add beaker caching options
# authomatic
authomatic.secret = d5e8417934247ccb6cdbdb5144e3b130
# pyramid storage
# https://pythonhosted.org/pyramid_storage/
storage.base_path = /Users/pingu/birdhouse/var/lib/phoenix/storage
storage.base_url = http://localhost:8081/download/storage/
storage.extensions = default+archives+nc
# phoenix
phoenix.password = qwerty
phoenix.max_file_size = 200
phoenix.workdir = /Users/pingu/birdhouse/var/lib/phoenix/tmp
phoenix.require_csrf = true
# github oauth2
github.client.id =
github.client.secret =
# ceda oauth2
ceda.client.id =
ceda.client.secret =
# keycloak oauth2
keycloak.url = http://localhost:8080
keycloak.realm = demo
keycloak.client.id = phoenix
keycloak.client.secret = a432a213-2788-4264-b28f-d3ccde67fa95
# twitcher
twitcher.url = http://localhost:8002
twitcher.client.id = 9db9880828444362b0dbaaf6c948ff1b
twitcher.client.secret = defe13e30b9449d2b7d2f5ac430bf676
###
# celery scheduler config
# https://pypi.python.org/pypi/pyramid_celery
###
[celery]
# celery scheduler config
# http://celery.readthedocs.org/en/latest/configuration.html
# Broker settings.
BROKER_URL = mongodb://localhost:27027/celery
# Backend to store task state and results.
CELERY_RESULT_BACKEND = mongodb://localhost:27027
# Backend to store task state and results.
# CELERY_MONGODB_BACKEND_SETTINGS = {'database': 'celery', 'taskmeta_collection': 'celery_taskmeta',}
###
# wsgi server configuration
###
[server:main]
use = egg:gunicorn#main
bind=127.0.0.1:8081
workers=3
worker_class=gevent
timeout=30
###
# logging configuration
# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html
###
[loggers]
keys = root, phoenix, celery
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = WARNING
handlers = console
[logger_phoenix]
level = WARNING
handlers = console
qualname = phoenix
[logger_celery]
level = WARNING
handlers = console
qualname = celery
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = DEBUG
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s