-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yaml
47 lines (47 loc) · 970 Bytes
/
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
---
applications:
- guillotina_dynamictablestorage
databases:
db:
storage: postgresql
dsn: postgresql://postgres@localhost:5432/guillotina
read_only: false
storages:
storage:
storage: postgresql
type: prefixed-table
dsn: postgresql://postgres@localhost:5432/guillotina
host: localhost
port: 8080
root_user:
password: root
auth_extractors:
- guillotina.auth.extractors.BearerAuthPolicy
- guillotina.auth.extractors.BasicAuthPolicy
- guillotina.auth.extractors.WSTokenAuthPolicy
auth_token_validators:
- guillotina.auth.validators.SaltedHashPasswordValidator
- guillotina.auth.validators.JWTValidator
cors:
allow_origin:
- http://localhost:8080
- "chrome-extension://*"
allow_methods:
- GET
- POST
- DELETE
- HEAD
- PATCH
- PUT
- OPTIONS
allow_headers:
- "*"
expose_headers:
- "*"
allow_credentials: true
max_age: 3660
jwt:
secret: foobar
algorithm: HS256
jsapps:
+admin: guillotina:static/executioner