Skip to content

Factual/docker-github-sysops-resource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github SysOps Resource Server

Docker with a simple nginx server that serves up a repo it pulls from github every X minutes

Environment variables:

  • GITHUB_REPO (required)
  • GITHUB_SSH_KEY (required)
  • REFRESH (default 300)
  • PORT (default 80, for SSL use 443)
  • SSL_CERT (optional)
  • SSL_KEY (optional)
  • SSL_CLIENT (optional)
  • DOMAIN (default localhost)

You can then run via

docker run -p 80:80 -dit  --name sysops-resources-nginx -e SSL_CERT="`cat path_to_ssl_cert`" -e SSL_KEY="`cat path_to_ssl_key`" -e SSL_CLIENT="`cat path_to_ssl_client`" -e DOMAIN="www.my-website.com" -e GITHUB_REPO="[email protected]:myorg/myrepo.git" -e GITHUB_SSH_KEY="`cat path_to_my_github_key`" -e REFRESH=30 factual/github-sysops-resource

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published