Victor is a Docker image provides a way to build a static website from
a Hugo-based Git repository. The static website is then served by Nginx.
You can manage themes 2 ways:
- Copy the theme into the themes folder.
- Create a git submodule for the theme.
Pass the following environment variables when instantiating the docker container:
Base64 encoded SSH private key used to connect to your Git repository.
The URL of the git repository.
The branch to use (defaults to master if not passed).
If set, hugo will build canonified URLS using the base url.
Useful if you want the site to build to a different URL than defined in the configuation file.
If set, hugo will be rebuild on container restart.
Useful if you also want to use this image in development.
Add additional hugo command line arguments when a project is built.