Skip to content

Commit

Permalink
Adding another rate-limiting module
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmdksh committed Jul 14, 2023
1 parent 493fdb7 commit c0e1ecf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c0e1ecf

Please sign in to comment.