docker-hugo-caddy icon indicating copy to clipboard operation
docker-hugo-caddy copied to clipboard

hugo + caddy , perfect static site.

Hugo with Caddy

A Docker image for Hugo with Caddy webserver. This image includes the git plugin. Plugins can be configured via the plugins build arg.

image size Build Status

Getting Started

docker run -d -p 2015:2015 muninn/hugo-caddy

Point your browser to http://127.0.0.1:2015 if you run docker locally, or http://yourdomain:2015 if deployed on remote server.

Use Docker Compose

Copy the docker-compose.yml.example to docker-compose.yml and change the PORT and REPO in it. Then:

docker-compose up -d

Serve your hogo repo

Just change the REPO Env to your hogo repo address.