From c0e1ecf63658590b511838ab18ba35596c9d1fa9 Mon Sep 17 00:00:00 2001 From: Moe Shehab Date: Fri, 14 Jul 2023 13:01:27 +0300 Subject: [PATCH] Adding another rate-limiting module --- Dockerfile | 3 ++- README.md | 5 +---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 35d13e0..40e8197 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,8 @@ RUN apk add --no-cache git go && \ /root/go/bin/xcaddy build \ --with github.com/mholt/caddy-ratelimit \ --with github.com/porech/caddy-maxmind-geolocation \ - --with github.com/RussellLuo/caddy-ext/ratelimit + --with github.com/RussellLuo/caddy-ext/ratelimit \ + --with github.com/hayak3/caddy-ratelimit FROM caddy:2.6.4-alpine diff --git a/README.md b/README.md index e7f6419..1b5d1cc 100644 --- a/README.md +++ b/README.md @@ -19,10 +19,7 @@ You can find the docker-compose configuration snippet example here: env_file: - .env environment: - IMPACT_GRAPH_URL: ${IMPACT_GRAPH_URL:-} - AUTH_SERVICE_URL: ${AUTH_SERVICE_URL:-} - NOTIFICATION_CENTER_URL: ${NOTIFICATION_CENTER_URL:-} - APIGIV_URL = ${APIGIV_URL:-} + MY_URL = ${MY_URL:-} RESTRICTED_PATHS: ${RESTRICTED_PATHS:-} IP_WHITELIST: ${IP_WHITELIST:-} volumes: