https://github.com/giveth/giveth-caddy
https://github.com/giveth/giveth-caddy
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/giveth/giveth-caddy
- Owner: Giveth
- Created: 2023-07-12T08:48:13.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-10T11:11:55.000Z (over 1 year ago)
- Last Synced: 2025-04-08T20:02:04.662Z (about 1 year ago)
- Language: Dockerfile
- Size: 23.4 KB
- Stars: 1
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Caddy giveth
[](https://github.com/Giveth/giveth-caddy/actions/workflows/ci.yml)
We want a specific Caddy Web Server Image that works with our Giveth-All stack. We are using this as a migration from nginx. This is a
specific caddy build that supports the below:
1. Rate Limiting
2. GeoBlocking & Control
## Usage
You can find the docker-compose configuration snippet example here:
```
caddy:
image: ghcr.io/giveth/giveth-caddy:latest
container_name: caddy
restart: unless-stopped
networks:
- mynetwork
ports:
- 80:80
- 443:443
env_file:
- .env
environment:
MY_URL = ${MY_URL:-}
RESTRICTED_PATHS: ${RESTRICTED_PATHS:-}
IP_WHITELIST: ${IP_WHITELIST:-}
volumes:
- caddy_data:/data
- caddy_config:/config
- ./Caddyfile:/etc/caddy/Caddyfile
```