Sign inSign up

iamd3vil/caddy-alpine

By iamd3vil

Updated over 8 years ago

Caddy server built from source without EULA

Image
1

943

iamd3vil/caddy-alpine repository overview

Caddy-Alpine

Builds caddy from source and runs it in a Alpine image.

Since it builds from source, EULA doesn't apply for this docker image.

Uses multistage builds to minimize the size of the image.

Caddyfile

caddy-alpine is configured to get the Caddyfile from /etc/Caddyfile. We can mount a volume from host to /etc/Caddyfile to supply your own Caddyfile.

Saving certicates

Certificates are always stored inside the image at /app. So we can make a volume so that certs are not generated everytime we start since Let's Encrypt is rate limited.

Example

docker run -p 80:80 -p 443:443 \
    -v /etc/Caddyfile:/etc/Caddyfile \
    -v /root/.caddy/:/app \
    iamd3vil/caddy-alpine

Tag summary

Content type

Image

Digest

Size

7.9 MB

Last updated

over 8 years ago

docker pull iamd3vil/caddy-alpine