本项目使用Github Action对Caddy进行编译并打包Docker镜像
- github.com/caddyserver/cache-handler
- github.com/ueffel/caddy-brotli
- github.com/caddyserver/transform-encoder
- github.com/WJQSERVER/caddy-ext/ratelimit(forked from github.com/RussellLuo/caddy-ext/ratelimit)
- github.com/caddy-dns/cloudflare
- github.com/mholt/caddy-l4(仅在L4固件内包含)
一键脚本安装
wget -O caddy-menu.sh https://raw.githubusercontent.com/WJQSERVER-STUDIO/tools-stable/main/program/caddy/caddy-menu.sh && chmod +x caddy-menu.sh && clear && ./caddy-menu.sh
- Debian-slim构建
docker run -d -p 80:80 -p 443:443 -v ./caddy/config:/data/caddy/config -v ./caddy/config.d:/data/caddy/config.d -v ./caddy/log:/data/caddy/log --restart always wjqserver/caddy:latest
- Alpine构建
docker run -d -p 80:80 -p 443:443 -v ./caddy/config:/data/caddy/config -v ./caddy/config.d:/data/caddy/config.d -v ./caddy/log:/data/caddy/log --restart always wjqserver/caddy:alpine
-
Debian-slim底包
version: '3.9' services: caddy: image: 'wjqserver/caddy:latest' restart: always volumes: - './caddy/log:/data/caddy/log' - './caddy/config.d:/data/caddy/config.d' - './caddy/config:/data/caddy/config' ports: - '443:443' - '80:80'
-
Alpine底包
version: '3.9' services: caddy: image: 'wjqserver/caddy:alpine' restart: always volumes: - './caddy/log:/data/caddy/log' - './caddy/config.d:/data/caddy/config.d' - './caddy/config:/data/caddy/config' ports: - '443:443' - '80:80'
本仓库使用双重许可证,详细说明请参看LICENSE_README文件,:
- Releases中的二进制文件
Caddy
继承Caddy的Apache 2.0许可证 - 仓库内文件(除demo页面外)使用WSL 1.2许可证