Skip to content

chihchun/opengrok-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opengrok-docker

OpenGrok is a fast and usable source code search and cross reference engine, written in Java.

It helps you search, cross-reference and navigate source trees. It can understand various program file formats and version control histories.

This docker image support

  • Mercurial
  • Git
  • Bazaar
  • Subversion
  • SCCS
  • RCS
  • CVS
  • Monotone

Usage

$ git clone https://github.com/OpenGrok/OpenGrok.git
$ docker run -t -i --rm \
    --name opengrok \
    -v ${PWD}/OpenGrok:/src \
    -v ${PWD}/OpenGrok-index:/data \
    -p 8080:8080 \
    chihchun/opengrok
$ x-www-browser http://localhost:8080/source/

trigger reindex

$ docker exec opengrok OpenGrok index

If you want opengrok reindex the source tree automatically for new changes, pelase use -e OPENGROK_REINDEX=true

$ docker run -t -i --rm \
    --name opengrok \
    -e OPENGROK_REINDEX=true \
    -v ${PWD}/OpenGrok:/src \
    -v ${PWD}/OpenGrok-index:/data \
    -p 8080:8080 \
    chihchun/opengrok

About

docker image for opengrok

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages