/docker-caddy

Dockerfile for Caddy

Primary LanguageDockerfileApache License 2.0Apache-2.0

Dockerfile for Caddy

Includes the following plugins:

  • dyndns
  • http.cache
  • http.cgi
  • http.cors
  • http.datadog
  • http.expires
  • http.filemanager
  • http.filter
  • http.forwardproxy
  • http.geoip
  • http.ipfilter
  • http.jwt
  • http.locale
  • http.login
  • http.minify
  • http.nobots
  • http.prometheus
  • http.proxyprotocol
  • http.ratelimit
  • http.realip
  • http.reauth
  • http.webdav

How to run

docker run \
  --volume $PWD/Caddyfile:/etc/caddy/Caddyfile \
  --volume $PWD/certs:/var/lib/caddy \
  --volume $PWD/html:/var/www \
  --publish 80:80 \
  --publish 443:443 \
  sithladyraven/docker-caddy:latest