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
|
rpc:
listen: tcp://127.0.0.1:6001
disabled: false
server:
command: "php tests/psr-worker-bench.php"
user: ""
group: ""
env:
"RR_HTTP": "true"
relay: "pipes"
relayTimeout: "20s"
logs:
mode: development
level: error
http:
address: 127.0.0.1:44933
maxRequestSize: 1024
middleware: [ "gzip", "headers" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
trustedSubnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
pool:
numWorkers: 6
maxJobs: 0
allocateTimeout: 60s
destroyTimeout: 60s
# ssl:
# port: 8892
# redirect: false
# cert: fixtures/server.crt
# key: fixtures/server.key
# # rootCa: root.crt
# fcgi:
# address: tcp://0.0.0.0:7921
# http2:
# enabled: false
# h2c: false
# maxConcurrentStreams: 128
redis:
# UniversalClient is an abstract client which - based on the provided options -
# can connect to either clusters, or sentinel-backed failover instances
# or simple single-instance servers. This can be useful for testing
# cluster-specific applications locally.
# if the number of addrs is 1 and master_name is empty, a single-node redis Client will be returned
# if the number of Addrs is two or more, a ClusterClient will be returned
addrs:
- 'localhost:6379'
# if a MasterName is passed a sentinel-backed FailoverClient will be returned
master_name: ''
username: ''
password: ''
db: 0
sentinel_password: ''
route_by_latency: false
route_randomly: false
dial_timeout: 0 # accepted values [1s, 5m, 3h]
max_retries: 1
min_retry_backoff: 0 # accepted values [1s, 5m, 3h]
max_retry_backoff: 0 # accepted values [1s, 5m, 3h]
pool_size: 0
min_idle_conns: 0
max_conn_age: 0 # accepted values [1s, 5m, 3h]
read_timeout: 0 # accepted values [1s, 5m, 3h]
write_timeout: 0 # accepted values [1s, 5m, 3h]
pool_timeout: 0 # accepted values [1s, 5m, 3h]
idle_timeout: 0 # accepted values [1s, 5m, 3h]
idle_check_freq: 0 # accepted values [1s, 5m, 3h]
read_only: false
metrics:
# prometheus client address (path /metrics added automatically)
address: localhost:2112
collect:
app_metric:
type: histogram
help: "Custom application metric"
labels: [ "type" ]
buckets: [ 0.1, 0.2, 0.3, 1.0 ]
# objectives defines the quantile rank estimates with their respective
# absolute error [ for summary only ]
objectives:
- 1.4: 2.3
- 2.0: 1.4
reload:
# sync interval
interval: 1s
# global patterns to sync
patterns: [ ".go" ]
# list of included for sync services
services:
http:
# recursive search for file patterns to add
recursive: true
# ignored folders
ignore: [ "vendor" ]
# service specific file pattens to sync
patterns: [ ".php", ".go",".md", ]
# directories to sync. If recursive is set to true,
# recursive sync will be applied only to the directories in `dirs` section
dirs: [ "." ]
|