How to enable rate limits

I am trying to configure global and local rate limits but I have not managed to find any information on how to do it in consul (1.8) using https://www.envoyproxy.io/docs/envoy/v1.14.0/intro/arch_overview/other_features/global_rate_limiting

As per documentation I would like to use both global (using https://github.com/envoyproxy/ratelimit) and local rate limit buckets.

Any suggestions how to configure it with agents and envoys running in docker?