-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ini
84 lines (66 loc) · 1.59 KB
/
config.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
##########
# About config
# Visit: https://pypicloud.readthedocs.io/en/latest/topics/configuration.html
##########
[app:main]
use = egg:pypicloud
pyramid.reload_templates = False
pyramid.debug_authorization = false
pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.default_locale_name = en
pypi.default_read = everyone
pypi.default_write = everyone
pypi.storage = file
storage.dir = /tmp
db.url = sqlite:////var/lib/pypicloud/db.sqlite
auth.admins = admin
user.admin = $6$rounds=20500$VKRUoE/SkfWiSLFv$Iz02PoWK3tFUVC7B9hqlq8g1K8Ubg0HXcjq67irK9Bc79EHCmNZFcMot9rZ.qc0TRlodkRubxyt47pb/reykV1
# For beaker
session.encrypt_key = 4wSE1QXLLnB+TwcvJc+eoeXFmu+9bPxV3LiH1NTLqdM=
session.validate_key = L8FPo89ZdHpiKfvW54eiGLkwMONcmYzthBtlEzOAE/M=
session.secure = False
session.invalidate_corrupt = true
###
# wsgi server configuration
###
[uwsgi]
paste = config:%p
paste-logger = %p
master = true
processes = 20
reload-mercy = 15
worker-reload-mercy = 15
max-requests = 1000
enable-threads = true
http = 0.0.0.0:9999
uid = pypicloud
gid = pypicloud
###
# logging configuration
# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html
###
[loggers]
keys = root, botocore, pypicloud
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = console
[logger_pypicloud]
level = DEBUG
qualname = pypicloud
handlers =
[logger_botocore]
level = WARN
qualname = botocore
handlers =
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(levelname)s %(asctime)s [%(name)s] %(message)s