-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy path.rr-prod.yaml
74 lines (64 loc) · 1.42 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
65
66
67
68
69
70
71
72
73
74
version: '3'
rpc:
listen: tcp://127.0.0.1:6001
metrics:
address: 0.0.0.0:2112
server:
command: 'php app.php'
relay: pipes
on_init:
command: "php app.php register:modules"
logs:
level: ${RR_LOG_LEVEL:-info}
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:
local:
driver: memory
config: { }
jobs:
consume: [ ]
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"
dolt:
service_name_in_log: true
remain_after_exit: true
restart_sec: 1
command: "./bin/dolt sql-server --data-dir=.db"
centrifuge:
proxy_address: ${RR_CENTRIFUGE_PROXY_ADDRESS}
grpc_api_address: ${RR_CENTRIFUGE_GRPC_API_ADDRESS}
poll:
num_workers: ${RR_CENTRIFUGE_NUM_WORKERS}