Browse Source

increase burst limit, remove log mounts

master
Martin McKeaveney 5 years ago
parent
commit
e7233f9086
  1. 4
      hosting/docker-compose.yaml
  2. 2
      hosting/kubernetes/nginx/nginx.conf
  3. 2
      hosting/proxy/nginx.conf

4
hosting/docker-compose.yaml

@ -25,8 +25,6 @@ services:
ENABLE_ANALYTICS: "true"
REDIS_URL: redis-service:6379
REDIS_PASSWORD: ${REDIS_PASSWORD}
volumes:
- ./logs:/logs
depends_on:
- worker-service
- redis-service
@ -53,8 +51,6 @@ services:
INTERNAL_API_KEY: ${INTERNAL_API_KEY}
REDIS_URL: redis-service:6379
REDIS_PASSWORD: ${REDIS_PASSWORD}
volumes:
- ./logs:/logs
depends_on:
- redis-service
- minio-service

2
hosting/kubernetes/nginx/nginx.conf

@ -92,7 +92,7 @@ http {
location /api/ {
# calls to the API are rate limited with bursting
limit_req zone=ratelimit burst=10 nodelay;
limit_req zone=ratelimit burst=20 nodelay;
# 120s timeout on API requests
proxy_read_timeout 120s;

2
hosting/proxy/nginx.conf

@ -96,7 +96,7 @@ http {
location /api/ {
# calls to the API are rate limited with bursting
limit_req zone=ratelimit burst=10 nodelay;
limit_req zone=ratelimit burst=20 nodelay;
# 120s timeout on API requests
proxy_read_timeout 120s;

Loading…
Cancel
Save