Sign inSign up

datoma/hugo

By datoma

•Updated over 6 years ago

Image
0

342

datoma/hugo repository overview

⁠docker-hugo

hugo as docker container

⁠Default Values
ParameterDefault ValueDescription
HUGO_VERSION0.70.0hugo version (see https://github.com/gohugoio/hugo/releases⁠)
HUGO_PACKAGEhugo_${HUGO_VERSION}_linux-64bit.tar.gzjust the internal name for the tar.gz package
HUGO_DIR/usr/hugodirectory, where the hugo site is stored
HUGO_URLexample.deurl for the hugo site
HUGO_PORT1313port of the hugo server
HUGO_APPEND_PORTfalse
HUGO_BIND0.0.0.0bind hugo server to everything
HUGO_OPTIONS--navigateToChanged --templateMetrics --buildDraftssome options, see hugo docu for more informations
⁠docker run command

use the following command to run it as dockerservice:

docker
⁠docker-compose

edit the .env.sample fiel and start the service with

docker-compose up -d

Tag summary

Content type

Image

Digest

Size

184.4 MB

Last updated

over 6 years ago

docker pull datoma/hugo