HUB
Sign inSign up

vnxme/caddy

By vnxme

•Updated 2 days ago

Caddy for amd64, arm64, armv7 and armv6 with extra modules (L4, security, Cloudflare DNS and more)

Image
0

50K+

vnxme/caddy repository overview

⁠docker-caddy

Multi-platform Docker images of Caddy⁠ with a set of extra modules built in. The image is a drop-in replacement for the official caddy image⁠: same Alpine base, paths, volumes, ports and entrypoint, with a custom-built caddy binary.

The images are published to two registries:

⁠Platforms

  • x86 64-bit (linux/amd64)
  • ARMv8 64-bit (linux/arm64/v8)
  • ARMv7 32-bit (linux/arm/v7)
  • ARMv6 32-bit (linux/arm/v6)

⁠Usage

docker run -d --name caddy \
  -p 80:80 -p 443:443 -p 443:443/udp \
  -v $PWD/Caddyfile:/etc/caddy/Caddyfile \
  -v caddy_data:/data \
  -v caddy_config:/config \
  vnxme/caddy:2

With Docker Compose:

services:
  caddy:
    image: vnxme/caddy:2
    restart: unless-stopped
    ports:
      - "80:80"
      - "443:443"
      - "443:443/udp"
    volumes:
      - ./Caddyfile:/etc/caddy/Caddyfile
      - caddy_data:/data
      - caddy_config:/config

volumes:
  caddy_data:
  caddy_config:

Keep /data on a persistent volume: it holds your TLS certificates and keys. To list the modules compiled into the image, run docker run --rm vnxme/caddy caddy list-modules --skip-standard.

⁠Tags

TagMeaning
latest, 2, 2.11, 2.11.3The latest release, and the latest release in each major or minor line. These tags get updated base images (see below).
2.11.3-1A re-release of the same Caddy version with updated modules
2.11.3-YYYYMMDDA fixed snapshot of a release, built on that date. It never changes, so pin it if you need a reproducible image.

Every week, CI checks whether the official caddy builder or Alpine base image for the latest release has been updated upstream, for example with Go or Alpine security fixes. If so, it rebuilds that release with the same modules, pushes it again under its version tags (2.11.3, 2.11, 2, latest) and adds a new dated tag. If nothing changed, nothing is pushed. Older releases are not rebuilt. | main | Built from the main branch | | sha-<commit> | Built from a specific commit |

⁠Modules

Besides the standard modules, Caddy is built with:

Modules are pinned to specific commits. Renovate⁠ opens a grouped update PR every week.

⁠License

The build files in this repository are licensed under the Apache License 2.0⁠. Caddy and each module keep their own licenses.

Tag summary

Content type

Image

Digest

sha256:4e5e41fe3…

Size

51.1 MB

Last updated

2 days ago

docker pull vnxme/caddy