forked from buggregator/server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rr-prod.yaml
64 lines (56 loc) · 1.22 KB
/
.rr-prod.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
version: '2.7'
rpc:
listen: tcp://127.0.0.1:6001
server:
command: 'php app.php'
relay: pipes
logs:
level: ${RR_LOG_LEVEL}
http:
address: 127.0.0.1:8082
middleware: [ "headers" ]
headers:
cors:
allowed_origin: "*"
allowed_headers: "*"
allowed_methods: "GET,POST,PUT,DELETE"
allow_credentials: true
exposed_headers: "Cache-Control,Content-Language,Content-Type,Expires,Last-Modified,Pragma"
max_age: 600
pool:
num_workers: ${RR_HTTP_NUM_WORKERS}
tcp:
servers:
monolog:
addr: :9913
delimiter: "\n"
var-dumper:
addr: :9912
delimiter: "\n"
smtp:
addr: :1025
pool:
num_workers: ${RR_TCP_NUM_WORKERS}
kv:
events:
driver: memory
config: {}
local:
driver: memory
config: {}
service:
nginx:
service_name_in_log: true
remain_after_exit: true
restart_sec: 1
command: "/usr/sbin/nginx"
centrifuge:
service_name_in_log: true
remain_after_exit: true
restart_sec: 1
command: "./bin/centrifugo --config=centrifugo.json"
centrifuge:
proxy_address: ${RR_CENTRIFUGE_PROXY_ADDRESS}
grpc_api_address: ${RR_CENTRIFUGE_GRPC_API_ADDRESS}
poll:
num_workers: ${RR_CENTRIFUGE_NUM_WORKERS}