Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giveth/giveth-caddy
https://github.com/giveth/giveth-caddy
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/giveth/giveth-caddy
- Owner: Giveth
- Created: 2023-07-12T08:48:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-05T12:14:14.000Z (7 months ago)
- Last Synced: 2024-04-05T14:43:42.666Z (7 months ago)
- Language: Dockerfile
- Size: 21.5 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Caddy giveth
[![ci](https://github.com/Giveth/giveth-caddy/actions/workflows/ci.yml/badge.svg)](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
```