Skip to content

A container for automatically pulling a Jekyll site from Github, building, and hosting it.

License

Notifications You must be signed in to change notification settings

chambana-net/docker-jekyll-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-jekyll-github

A container for automatically pulling a Jekyll site from Github, building, and hosting it.

Usage

The container exposes port 4000 by default. You can use the following environment variables for configuration:

  • JEKYLL_GITHUB_USER: The user on Github from which to clone the repository.
  • JEKYLL_GITHUB_REPO: The name of the repository to clone.
  • JEKYLL_GITHUB_BRANCH: (Optional) If you want to use a branch other than master, specify it here.
  • JEKYLL_GITHUB_SUBDIR: (Optional) If your site is in a subdirectory of the repository, specify it here.

Tips

This container currently just runs jekyll serve, so it is highly recommended to run this behind a proxy if it is in a production environment.

About

A container for automatically pulling a Jekyll site from Github, building, and hosting it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published