Custom caddy image with the caddy-security plugin for authentication and MFA support.
docker pull sedyh/caddy-mfa
| Component | Version |
|---|---|
| caddy | 2.11.3 |
| caddy-security | 1.1.62 |
services:
caddy:
image: sedyh/caddy-mfa:2.11.3
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./conf:/etc/caddy
- caddy_data:/data
- caddy_config:/config
volumes:
caddy_data:
caddy_config:Place your Caddyfile and any other configuration files inside the conf/ directory.
docker build -f caddy.dockerfile -t caddy-mfa .