Skip to content

Dockerfile for gollum setup with ruby:alpine and authentication via omnigollum and omniauth-github

Notifications You must be signed in to change notification settings

alexkainzinger/gollum-omnigollum-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gollum-omnigollum-docker

Gem Version

Dockerfile which utilizes ruby:alpine for its small size.

Provides basic setup for gollum with authentication via GitHub

Setup & Usage

  • You must mount /home/wiki of the container otherwise changes will be lost
  • Important: for a first install, make sure to run git init in the folder you mounted to initialize an empty git-repository which is required by gollum
  • You need to create a GitHub OAuth App to obtain the required credentials
  • (make sure your provided emai address is public on your GitHub profile)
$ docker run -it -p 4567:4567
        -e CLIENT_ID=*YOUR GITHUB CLIENT_ID*
        -e CLIENT_SECRET=*YOUR GITHUB CLIENT_SECRET*
        -e AUTH_EMAILS=your@email.com
        -v wiki:/home/wiki 
        alexkainzinger/gollum-omnigollum-docker

AUTH_EMAILS can also be a list of email addresses

$ docker run -it -p 4567:4567
        -e CLIENT_ID=*YOUR GITHUB CLIENT_ID*
        -e CLIENT_SECRET=*YOUR GITHUB CLIENT_SECRET*
        -e AUTH_EMAILS=first@example.com,second@example.com,third@example.com
        -v wiki:/home/wiki 
        alexkainzinger/gollum-omnigollum-docker

To build your own Docker image use

$ docker build -t gollum-omnigollum-docker .

About

Dockerfile for gollum setup with ruby:alpine and authentication via omnigollum and omniauth-github

Topics

Resources

Stars

Watchers

Forks