forked from plone/guillotina
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
69 lines (69 loc) · 1.4 KB
/
config.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
64
65
66
67
68
69
---
debug: true
applications:
- guillotina.contrib.catalog.pg
- guillotina.contrib.swagger
databases:
db:
storage: postgresql
transaction_strategy: resolve_readcommitted
dsn: postgresql://postgres@localhost:5432/guillotina
pool_size: 40
read_only: false
statement_cache_size: 100
max_cached_statement_lifetime: 300
autovacuum: false
db-custom:
storage: postgresql
dsn: postgresql://postgres@localhost:5432/guillotina
objects_table_name: foobar
blobs_table_name: foobar_blobs
storages:
storage:
storage: postgresql
transaction_strategy: resolve
dsn: postgresql://postgres@localhost:5432
pool_size: 40
read_only: false
host: 0.0.0.0
port: 8080
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
+manage: guillotina:static/gmi
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