-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
48 lines (40 loc) · 1.7 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
environment:
dev:
description: DEV
type: dev
logging:
level: DEBUG # Can be on of 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'
file: 'server.log' # Filename of logfile
use_console: True # Log output to the console?
backup_count: 5 # Number of logs to keep
max_size: 1024 # Specified in kB (i.e. 1024 means a maximum file size of 1MB)
format: "%(asctime)s - %(name)-14s - %(levelname)-8s - %(message)s"
server:
ip: '127.0.0.1' # ip address to listen on
port: 5000 # port to listen on
use_ssl: False
cert_file: 'cert.pem'
key_file: 'key.pem'
api_path: '/'
jwt_secret_key: 'thisisnotsosecretbutfordevelopingitsfine'
exclude: ['_schema',] # resources to exclude/skip
database:
uri: sqlite:///dev.db
prod:
description: PROD
type: prod
logging:
level: DEBUG # Can be on of 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'
file: 'server.log' # Filename of logfile
use_console: True # Log output to the console?
backup_count: 5 # Number of logs to keep
max_size: 1024 # Specified in kB (i.e. 1024 means a maximum file size of 1MB)
format: "%(asctime)s - %(name)-14s - %(levelname)-8s - %(message)s"
server:
ip: '0.0.0.0' # ip address to listen on
port: 5000 # port to listen on
use_ssl: False
api_path: '/'
exclude: ['_schema',] # resources to exclude/skip
database:
uri: sqlite:///prod.db