1
0
Fork 0
 
 
Go to file
Ambrose Chua 0915c2f24d
continuous-integration/drone/push Build is passing Details
Add notice
2018-12-01 17:24:00 +08:00
.drone.yml Drone 1.0 syntax 2018-12-01 13:47:19 +08:00
Caddyfile Initial commit 2017-10-09 18:14:51 +08:00
Dockerfile Update Dockerfile 2018-11-30 22:24:47 +08:00
LICENSE Fix perms 2017-10-09 18:51:26 +08:00
README.md Add notice 2018-12-01 17:24:00 +08:00
index.html Improve README.md 2017-10-09 20:12:04 +08:00

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