summaryrefslogtreecommitdiff
path: root/.rr.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.rr.yaml')
-rw-r--r--.rr.yaml44
1 files changed, 44 insertions, 0 deletions
diff --git a/.rr.yaml b/.rr.yaml
index 2b63a8db..f63da483 100644
--- a/.rr.yaml
+++ b/.rr.yaml
@@ -1826,6 +1826,50 @@ fileserver:
max_age: 10
bytes_range: true
+# Centrifugo server plugin
+#
+# Docs: https://centrifugal.dev/
+centrifuge:
+ # Centrifugo server proxy address (docs: https://centrifugal.dev/docs/server/proxy#grpc-proxy)
+ #
+ # Optional, default: tcp://127.0.0.1:30000
+ proxy_address: "tcp://127.0.0.1:30000"
+
+ # gRPC server API address (docs: https://centrifugal.dev/docs/server/server_api#grpc-api)
+ #
+ # Optional, default: tcp://127.0.0.1:30000. Centrifugo: `grpc_api` should be set to true and `grpc_port` should be the same as in the RR's config.
+ grpc_api_address: tcp://127.0.0.1:30000
+
+ # Use gRPC gzip compressor
+ #
+ # Optional, default: false
+ use_compressor: true
+
+ # Your application version
+ #
+ # Optional, default: v1.0.0
+ version: "v1.0.0"
+
+ # Your application name
+ #
+ # Optional, default: roadrunner
+ name: "roadrunner"
+
+ # TLS configuration
+ #
+ # Optional, default: null
+ tls:
+ # TLS key
+ #
+ # Required
+ key: /path/to/key.pem
+
+ # TLS certificate
+ #
+ # Required
+ cert: /path/to/cert.pem
+
+
## RoadRunner internal container configuration (docs: https://github.com/spiral/endure).
endure:
# How long to wait for stopping.