Skip to content

Caddy-Action 附带常用插件并编译Caddy的Docker镜像

License

Unknown, Apache-2.0 licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE_caddy
Notifications You must be signed in to change notification settings

WJQSERVER-STUDIO/caddy

Repository files navigation

Caddy

pull size

项目简介

本项目使用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固件内包含)

安装

systemd

一键脚本安装

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

Docker-CLI

  • 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

Docker-Compose

  • 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)

本仓库使用双重许可证,详细说明请参看LICENSE_README文件,:

相关链接

Caddy官方Github仓库

Docker鏡像

About

Caddy-Action 附带常用插件并编译Caddy的Docker镜像

Resources

License

Unknown, Apache-2.0 licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE_caddy

Stars

Watchers

Forks

Packages

No packages published