Skip to content

A docker image to serve static files from a git repo and keep them up to date

License

Notifications You must be signed in to change notification settings

dtekcth/Serve-Repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serve-Repo

A docker image to serve static files from a git repo and keep them up to date.

Usage

Run the image specifying GIT_REPO and optionally aditional environment variables. All avalable are specified below:

Name Default Description
GIT_REPO Url of git repo to clone
SUBDIR / Subdirectory to serv from e.g. /dist
LOCATION_CFG Additional config in location /-block
SERVER_CFG Additional config in server-block
INTERVAL 3600 How many seconds in between git pulls