-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.settings.yml
60 lines (57 loc) · 1.67 KB
/
example.settings.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
# Example settings file.
#
# @package ApiOpenStudioAdmin
# @license This Source Code Form is subject to the terms of the ApiOpenStudio Public License.
# If a copy of the MPL was not distributed with this file,
# You can obtain one at https://www.apiopenstudio.com/license/.
# @author john89 (https://gitlab.com/john89)
# @copyright 2020-2030 Naala Pty Ltd
# @link https://www.apiopenstudio.com
debug:
formatters:
api_open_studio_admin:
format: "%datetime%-%channel%.%level_name% - %message%\n"
handlers:
console:
class: Monolog\Handler\StreamHandler
level: DEBUG
formatter: api_open_studio_admin
processors: [memory_processor]
bubble: true
stream: php://stdout
admin_file_handler:
class: Monolog\Handler\StreamHandler
level: INFO
formatter: api_open_studio_admin
bubble: true
stream: /var/www/html/logs/apiopenstudio_admin/error.log
processors:
web_processor:
class: Monolog\Processor\WebProcessor
memory_processor:
class: Monolog\Processor\MemoryUsageProcessor
loggers:
admin:
handlers: [admin_file_handler]
processors: [web_processor]
admin:
url: "admin.apiopenstudio.local"
api_url: "api.apiopenstudio.local"
protocols:
- https
core_account: apiopenstudio
core_application: core
base_path: "/var/www/html/admin/"
dir_tmp: "/tmp/"
dir_public: "public/"
pagination_step: 20
templates: "includes/templates/"
slim:
displayErrorDetails: true
determineRouteBeforeAppMiddleware: true
twig:
options:
cache_enabled: true
cache_path: "twig_cache/"
debug: false
template_path: "includes/templates/"