config: more logs; fix localhost hook url
[pharext/pharext.org] / config / app.ini
1 [production]
2
3 github.api.url = https://api.github.com/
4 github.api.accept = application/vnd.github.v3+json
5
6 github.api.call.listrepos.args.per_page = 10
7 github.api.call.listhooks.args.per_page = 100
8
9 github.http.configure.pipelining = true
10
11 github.hook.url = https://pharext.org/github/hook
12 github.hook.content_type = json
13 github.hook.insecure_ssl = 0
14
15 github.storage.token.ttl = 3600
16 github.storage.cache.readrepo.ttl = 3600
17 github.storage.cache.listrepos.ttl = 3600
18 github.storage.cache.listhooks.ttl = 3600
19 github.storage.cache.listtags.ttl = 3600
20 github.storage.cache.listreleases.ttl = 3600
21 github.storage.cache.listreleaseassets.ttl = 3600
22
23 github.log = github
24
25 session.use_cookies = 1
26 session.use_only_cookies = 1
27 session.use_strict_mode = 1
28 session.cookie_httponly = 1
29 session.cookie_secure = 1
30 session.cache_limiter = ""
31 ;private_no_expire
32 ; minutes
33 session.cache_expire = 0
34
35 pq.flags = 0
36 pq.dsn = "user=pharext"
37
38 log.github.streamhandler.handler = StreamHandler
39 log.github.streamhandler.args[] = ../logs/github.log
40 ; Logger::DEBUG == 100
41 log.github.streamhandler.args[] = 100
42
43 log.session.streamhandler.handler = StreamHandler
44 log.session.streamhandler.args.0 = ../logs/session.log
45 log.session.streamhandler.args.1 = 100
46
47 log.query.streamhandler.handler = StreamHandler
48 log.query.streamhandler.args.0 = ../logs/query.log
49 log.query.streamhandler.args.1 = 100
50
51 [localhost : production]
52
53 github.hook.url = https://pharext.ngrok.io/github/hook
54 github.hook.insecure_ssl = 1
55 github.hook.use_basic_auth = ngrok
56
57 ngrok.command = ngrok
58 session.save_path = /tmp