GithubHelp home page GithubHelp logo

schmunk42 / docker-gollum Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 152 KB

A Dockerfile to install gollum and to keep changes made to the Wiki in sync with the remote repository.

License: MIT License

Shell 22.03% Ruby 77.97%

docker-gollum's Introduction

docker-gollum

This is a Dockerfile that installs gollum and a minutely cron job pushing your changes made to the Wiki back up to the remote repository.

Update Wiki and then sync

A word of advice:
As you'll have to use a deploy key to make that happen, ensure to duplicate the repository, so that you can set it to private. Simply forking the repository won't work as you can't make forks of public repositories private anymore.

Installation

  1. Create a new private repository for docker-gollum

  2. Make a bare clone of docker-gollum

     git clone --bare https://github.com/fooforge/docker-gollum.git
    
  3. Mirror-push to the new repository

     git push --mirror https://github.com/[username]/docker-gollum.git
    
  4. Clone your repository

     git clone https://github.com/[username]/docker-gollum.git
    
  5. Make the relevant changes to your copy of docker-gollum

     cd docker-gollum
     ssh-keygen -t rsa -b 4096 -f .docker/ssh_id_rsa
     # Change remote URL in the Dockerfile on line 47
     # Change username and email address in `.docker/gitconfig`
     # Commit your changes
    
  6. Add .docker/ssh_id_rsa.pub at https://github.com/[username]/docker-gollum/settings/keys

Usage

  1. Build the image

     # Inside the docker gollum repository's directory
     sudo docker build -t science_1 --rm=true .
    
  2. Run the container

     sudo docker run -name docker-gollum_1 -p 0.0.0.0:8003:80 -t docker-gollum_1
    

License

Licensed under the MIT license. For more information see the LICENSE file.

docker-gollum's People

Contributors

fooforge avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.