Webgardener site
Clone or download
Pull request Compare This branch is 32 commits ahead, 36 commits behind jojomi:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
Dockerfile
LICENSE
README.md
build.sh
renovate.json
run.sh

README.md

Webgardener.fr

Website powered by a containerized Hugo application (https://gohugo.io).

Environment Variables

  • HUGO_THEME
  • HUGO_WATCH (set to any value to enable watching)
  • HUGO_DESTINATION (Path where hugo will render the site. By default /output)
  • HUGO_REFRESH_TIME (in seconds, only applies if not watching, if not set, the container will build once and exit)
  • HUGO_BASEURL

Create env.list file with values:

HUGO_THEME=simple-a
HUGO_WATCH=1
HUGO_REFRESH_TIME=360
HUGO_BASEURL=http://baseurl

RUN

docker run --name "my-hugo" --publish-all   -p 32000:1313     --volume $(pwd)/src:/src        --volume /tmp/hugo-build-output:/output        --env-file env.list jojomi/hugo

Template

The beautiful Transcend template from Colorlib was adapted for Hugo.