Ambrose Chua 5a6a5f6b01 | ||
---|---|---|
Caddyfile | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
index.html |
README.md
caddy
A tiny 4MB Caddy image compressed with UPX.
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