-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rr.yaml
67 lines (59 loc) · 1.61 KB
/
.rr.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
version: '2.7'
rpc:
listen: tcp://127.0.0.1:6001
logs:
level: info
http:
address: 0.0.0.0:8081
middleware: [ "headers", "gzip" ]
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: 1
kv:
settings:
driver: memory
config: { }
server:
command: "php app.php"
relay: pipes
env:
BROADCAST_CONNECTION: centrifugo
service:
frontend:
service_name_in_log: true
remain_after_exit: true
restart_sec: 1
command: "npm run dev"
env:
API_URL: http://127.0.0.1:8080
WS_URL: ws://127.0.0.1:8080/connection/websocket
centrifuge:
service_name_in_log: true
remain_after_exit: true
restart_sec: 1
command: "./bin/centrifugo --config=centrifugo.json"
victoria-metrics:
service_name_in_log: true
remain_after_exit: true
restart_sec: 1
command: "./bin/victoria-metrics-prod -retentionPeriod=1d -opentsdbHTTPListenAddr=:4242"
snapshots:
service_name_in_log: true
remain_after_exit: true
restart_sec: 1
command: "php app.php take:snapshots --period=15"
metrics:
address: 127.0.0.1:2112
centrifuge:
proxy_address: "tcp://127.0.0.1:10001"
grpc_api_address: "tcp://127.0.0.1:10000"
pool:
reset_timeout: 10
num_workers: 2