-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.php.dist
65 lines (64 loc) · 1.49 KB
/
settings.php.dist
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
<?php
/*
* Copyright (c) 2012-2016 Veridu Ltd <https://veridu.com>
* All rights reserved.
*/
$appSettings = [
'debug' => true,
'displayErrorDetails' => true,
'determineRouteBeforeAppMiddleware' => true,
'db' => [
'driver' => 'pgsql',
// 'read' => [
// 'host' => 'localhost'
// ],
// 'write' => [
// 'host' => 'localhost'
// ],
'host' => 'localhost',
'port' => 5432,
'database' => '***REMOVED***',
'username' => '***REMOVED***',
'password' => '***REMOVED***',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
'options' => [
\PDO::ATTR_PERSISTENT => true
]
],
'log' => [
'path' => sprintf(
'%s/../log/api-%04d%02d%02d.log',
__DIR__,
date('Y'),
date('m'),
date('d')
),
'level' => Monolog\Logger::DEBUG
],
'cache' => [
'driver' => 'redis',
'options' => [
'servers' => [
['localhost', 6379]
]
]
// 'driver' => 'ephemeral'
],
'gearman' => [
'timeout' => 1000,
'servers' => [
['localhost', 4730]
]
],
'optimus' => [
'prime' => 0,
'inverse' => 0,
'random' => 0
],
'repository' => [
'strategy' => 'db',
'cached' => false
]
];