-
Notifications
You must be signed in to change notification settings - Fork 15
/
App.yaml
executable file
·120 lines (113 loc) · 4.26 KB
/
App.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
Name: Webiny
Version: dev-master
Link: https://github.com/Webiny/Webiny
Description: The Webiny app provides a platform to develop new apps
Author:
Name: Webiny LTD
Email: [email protected]
Link: https://www.webiny.com
Reports:
Wkhtmltopdf: autodetect
Notifications:
Api: https://api.webiny.com
Intervals: # in minutes
WebinyNotifications: 60
MarketplaceAppVersions: 60
Marketplace:
Api: https://api.webiny.com
Storage:
Services:
Root:
Class: \Webiny\Component\Storage\Storage
Arguments:
Driver:
Object: \Webiny\Component\Storage\Driver\Local\LocalStorageDriver
ObjectArguments:
Config:
Directory: __DIR__/../..
Apps:
Class: \Webiny\Component\Storage\Storage
Arguments:
Driver:
Object: \Webiny\Component\Storage\Driver\Local\LocalStorageDriver
ObjectArguments:
Config:
Directory: __DIR__/..
Temp:
Class: \Webiny\Component\Storage\Storage
Arguments:
Driver:
Object: \Webiny\Component\Storage\Driver\Local\LocalStorageDriver
ObjectArguments:
Config:
Directory: __DIR__/../../Temp
Create: true
DevelopmentBuild:
Class: \Webiny\Component\Storage\Storage
Arguments:
Driver:
Object: \Webiny\Component\Storage\Driver\Local\LocalStorageDriver
ObjectArguments:
Config:
Directory: __DIR__/../../public_html/build/development
ProductionBuild:
Class: \Webiny\Component\Storage\Storage
Arguments:
Driver:
Object: \Webiny\Component\Storage\Driver\Local\LocalStorageDriver
ObjectArguments:
Config:
Directory: __DIR__/../../public_html/build/production
Files:
Class: \Webiny\Component\Storage\Storage
Arguments:
Driver:
Object: \Webiny\Component\Storage\Driver\Local\LocalStorageDriver
ObjectArguments:
Config:
Directory: __DIR__/../../public_html/uploads
PublicUrl: __Webiny.WebUrl__/uploads
DateFolderStructure: true
Create: true
Events:
Webiny:
Bootstrap:
Request:
- {Handler: Php/RequestHandlers/Api, Priority: 600}
- {Handler: Php/RequestHandlers/Routes, Priority: 390}
Api:
Before:
- {Handler: Php/RequestHandlers/ApiHandlers/ApiLogHandler, Priority: 500}
- {Handler: Php/RequestHandlers/ApiHandlers/ApiCacheHandler::cacheRead}
Request:
- {Handler: Php/RequestHandlers/ApiHandlers/DiscoverHandler}
- {Handler: Php/RequestHandlers/ApiHandlers/EntityHandler}
- {Handler: Php/RequestHandlers/ApiHandlers/ServiceHandler}
After:
- {Handler: Php/RequestHandlers/ApiHandlers/ReportHandler, Priority: 301}
- {Handler: Php/RequestHandlers/ApiHandlers/ApiCacheHandler::cacheSave, Priority: 300}
User:
Provide:
- {Handler: Php/Lib/UserProvider/UserProviderEventHandler}
Services:
SmartyExtension:
Class: \Apps\Webiny\Php\View\SmartyExtension
Tags: [Smarty.Extension]
AnalyticsDb:
Class: \Webiny\AnalyticsDb\AnalyticsDb
Arguments:
Mongo: "@Mongo.Webiny"
Hrc:
Class: \Webiny\Hrc\Hrc
Arguments:
CacheRules: []
CacheStorage:
Object: \Webiny\Hrc\CacheStorage\Mongo
ObjectArguments: ["@Mongo.Webiny"]
IndexStorage:
Object: \Webiny\Hrc\IndexStorage\Mongo
ObjectArguments: ["@Mongo.Webiny"]
Routes:
Root:
Path: /
Callback: Php/RequestHandlers/Welcome