forked from plone/guillotina
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-redis.yaml
63 lines (63 loc) · 1.06 KB
/
config-redis.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
debug: true
applications:
- guillotina.contrib.redis
- guillotina.contrib.pubsub
- guillotina.contrib.cache
databases:
d:
storage: DUMMY
df:
storage: DUMMY_FILE
filename: dummy_file.db
host: 0.0.0.0
port: 8080
redis:
host: localhost
port: 32958
pool:
minsize: 5
maxsize: 100
cluster_mode: False
cache:
driver: guillotina.contrib.redis
updates_channel: guillotina
root_user:
password: root
cors:
allow_origin:
- "*"
allow_methods:
- GET
- POST
- DELETE
- HEAD
- PATCH
- PUT
allow_headers:
- "*"
expose_headers:
- "*"
allow_credentials: true
max_age: 3660
utilities: []
jsapps:
+admin: guillotina:static/executioner
static:
assets: guillotina:static/assets
logging:
version: 1
formatters:
default:
format: "%(asctime)s %(levelname)-8s %(name)-15s %(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
handlers:
default:
class: logging.StreamHandler
level: DEBUG
loggers:
guillotina:
level: DEBUG
handlers:
- default
propagate: 1