caddy installation on docker container
pull image
1
docker pull abiosoft/caddy
运行caddy
1
2
3
4
5
6docker run --name caddy \
-v $HOME/docker/caddy/Caddyfile:/etc/Caddyfile \
-v $HOME/docker/caddy/.caddy:/root/.caddy \
-p 80:80 \
-p 443:443 \
-d abiosoft/caddy:latest