-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathproduction.docker.ini
64 lines (50 loc) · 1.32 KB
/
production.docker.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
###
# app configuration
# http://docs.pylonsproject.org/projects/pyramid/en/1.7-branch/narr/environment.html
###
[openbbs_middleware:main]
mongo_host = mongo
mongo_port = 27017
mongo_dbname = dev_ptt
# mongo_ssl = false
# mongo_sslpemkeyfile = /etc/openbbs_middleware/pemkey.pem
# mongo_sslca = /etc/openbbs_middleware/root-ca.pem
# flask_secret_file = /etc/openbbs_middleware/secret
# flask_security_salt_file = /etc/openbbs_middleware/salt
# flask_security_confirmable = true
# flask_security_registerable = true
host = localhost:3457
# embed http-prefix in ptt_server
ptt_server = http://go-pttbbs:3456/v1
flask_static_folder = ./static
mail_server = localhost
mail_port = 25
mail_use_tls = true
mail_sender = noreply@localhost
###
# logging configuration
# http://docs.pylonsproject.org/projects/pyramid/en/1.7-branch/narr/logging.html
###
[loggers]
keys = root, openbbs_middleware
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = DEBUG
handlers = console
propagate = 0
[logger_openbbs_middleware]
level = DEBUG
handlers = console
qualname = openbbs_middleware
propagate = 0
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s [%(levelname)-5.5s] %(module)s#%(funcName)s@%(lineno)d: %(message)s
datefmt = %Y-%m-%d %H:%M:%S