Public | Automated Build

Last pushed: 4 months ago
Short Description
Small Caddy server for all your web hosting needs.
Full Description

Caddy

Small Caddy server for all your web hosting needs.
See the official docs for more information.

The image also comes with inotify, which reloads Caddy when the configurations are changed, without any downtime.

Build Info

  • Image: p3lim/alpine:3.7
  • Ports: 80, 443
  • Volumes:
    • /config
  • Environment:
    • PUID (user id)
    • PGID (user group)
    • TZ (timezone, e.g. Europe/Paris)

Plugins

Caddy has plugins/middleware, which this image supports.
To add plugins you'll need to build the image manually with a build argument, as such:

docker build --build-arg CADDY_PLUGINS='http.ratelimit,http.http.nobots' https://github.com/p3lim/docker-caddy.git

The example above will add the http.ratelimit and http.nobots plugins.
Keep in mind that Docker Compose has support for building with arguments too.

Docker Pull Command
Owner
p3lim
Source Repository