No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ambrose Chua 6da16d7546 Bump Go version 1 month ago
.drone.yml Drone 1.0 syntax 4 months ago
Caddyfile Initial commit 1 year ago
Dockerfile Bump Go version 1 month ago
LICENSE Fix perms 1 year ago
README.md Add notice 4 months ago

README.md

caddy

A tiny 4MB Caddy image compressed with UPX.

Notice: I keep this manually updated. If it goes out of date, ping me via Twitter @serverwentdown.

Usage

Serve files in $PWD:

docker run -it --rm -p 2015:2015 -v $PWD:/srv productionwentdown/caddy

Overwrite Caddyfile:

docker run -it --rm -p 2015:2015 -v $PWD:/srv -v $PWD/Caddyfile:/etc/Caddyfile productionwentdown/caddy

Persist .caddy to avoid hitting Let’s Encrypt’s rate limit:

docker run -it --rm -p 2015:2015 -v $PWD:/srv -v $PWD/Caddyfile:/etc/Caddyfile -v $HOME/.caddy:/etc/.caddy productionwentdown/caddy