-
Notifications
You must be signed in to change notification settings - Fork 2
/
example.docker.settings.yml
100 lines (96 loc) · 2.38 KB
/
example.docker.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
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
# Example settings file.
#
# @package ApiOpenStudio
# @license This Source Code Form is subject to the terms of the ApiOpenStudio Public License.
# If a copy of the license 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:
default:
format: null
date_format: null
allow_inline_line_breaks: false
ignore_empty_context_and_extra: true
handlers:
api_log_file:
class: StreamHandler
formatter: default
level: ERROR
stream: /var/log/nginx/api.log
db_log_file:
class: StreamHandler
formatter: default
level: ERROR
stream: /var/log/nginx/db.log
stdout:
class: StreamHandler
formatter: default
level: ERROR
stream: php://stdout
loggers:
api:
handlers:
- stdout
- api_log_file
db:
handlers:
- stdout
- db_log_file
db:
definition_path: "includes/Db/dbDefinition.yaml"
driver: mysqli
host: apiopenstudio-db
root_password: my_s3cr3t
username: apiopenstudio
password: my_s3cr3t
database: apiopenstudio
options:
debug: false
charset: utf8
collation: utf8_unicode_ci
api:
protocols:
- https
base_path: "/var/www/html/"
url: "api.example.com"
cache:
active: false
# cache:
# active: true
# type: memcached
# servers:
# host: memcached.example.com
# port: 11211
# weight: 1
# cache:
# active: true
# type: redis
# servers:
# host: redis.example.com
# port: 6379
# password:
default_format: json
wrap_json_in_response_object: true
core_account: apiopenstudio
core_application: core
core_resource_lock: false
dir_public: "public/"
dir_resources: "includes/resources/"
dir_uploads: "~/Downloads/"
dir_tmp: "/tmp/"
jwt_private_key: "/etc/nginx/certs/jwt.key"
jwt_public_key: "/etc/nginx/certs/jwt.key.pub"
jwt_alg_type: "Rsa"
jwt_alg: "Sha256"
jwt_life: "+1 hour"
jwt_issuer: "api.example.com"
jwt_permitted_for: "api.example.com"
openapi_version: "3.0.3"
openapi_directory: "includes/openapiSchema"
email:
from: "Admin <[email protected]>"
reply_to: "Contact <[email protected]>"
dsn: "smtp://USERNAME:PASSWORD@DOMAIN:PORT"