Public | Automated Build

Last pushed: 8 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.
Comes with the upload directive.

Build Info

  • Image: golang:alpine (Alpine 3.5, Go 1.8)
  • Ports: 80, 443
  • Volumes:
    • /caddy/.caddy

Usage

docker run -itd -p 80:80 -p 443:443 p3lim/caddy

With mounted volume for the configuration, storage and certificates:
docker run -itd -p 80:80 -p 443:443 -v /path/to/local:/caddy/.caddy p3lim/caddy

You might also want to pass the --restart flag to make sure the container is always up.

Example:
docker run -itd -p 80:80 -p 443:443 -v ~/.caddy:/caddy/.caddy --name=caddy --restart=unless-stopped p3lim/caddy:0.9.5

Docker Pull Command
Owner
p3lim
Source Repository