-
Notifications
You must be signed in to change notification settings - Fork 9
/
firenado.yml
78 lines (73 loc) · 1.63 KB
/
firenado.yml
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
70
71
72
73
74
75
76
77
78
app:
id: firenado-test-app
component: testapp
data:
sources:
# Set here references from sources defined on data.sources
- session
- cache
# Test datasource will be loaded from the application initialize method
# - test
pythonpath: ..
login:
urls:
- name: default
value: test_login
- name: custom
value: custom_login
#url_root_path: "testapp"
addresses:
- localhost
#port: 8888
#wait_before_shutdown: 3
#process:
# num_processes: 4
settings:
# autoreload: true
cookie_secret: "rebfcrj1qc81j76pxhb10pbrewe7exmjghftll93jh6sgporsc7igvrgk9l9oy9u"
xsrf_cookies: true
data:
sources:
- name: session
connector: redis
# host: localhost
# port: 6379
# db: 0
- file: data_sources.yml
components:
- id: testapp
class: testapp.app.TestappComponent
enabled: true
- id: internal
class: testapp.components.internal.component.TestappInternalComponent
enabled: true
#- id: admin
# enabled: true
- id: static_maps
enabled: false
- id: info
enabled: true
- id: toolbox
enabled: true
log:
level: DEBUG
management:
commands:
- name: testapp
module: testapp.management.commands
# Session types could be:
# file or redis.
session:
type: redis
enabled: true
# Life time by default is 30 minutes = 1800 minutes
# life_time 1800
# Scan interval by default is 2 minutes = 120 seconds
# scan_interval: 120
# Redis session handler configuration
encoder: json
data:
source: session
prefix: testapp:session
# File session handler related configuration
# path: /tmp