Skip to content

acdcjunior/codebrag-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codebrag-modified

To start:

docker run --name codebrag -d --restart=always -p 80:8080 -v PATH_TO_REPOSITORIES:/repos -v PATH_TO_H2_FOLDER:/opt/codebrag/data acdcjunior/codebrag-modified

To edit the database:

To edit the database, STOP the codebrag container, and:

docker run --name codebrag-h2 -it --entrypoint=/bin/bash -p 82:8082 -v PATH_TO_H2_FOLDER:/opt/codebrag/data acdcjunior/codebrag-modified -i

# And, inside the container (while at /opt/codebrag/):
java -cp codebrag-dist-assembly-2.3.4.jar org.h2.tools.Server -webAllowOthers -ifExists -baseDir /opt/codebrag/data

Now open your browser at http://name-of-the-server-where-you-started-the-docker:82

Use as URL: jdbc:h2:/opt/codebrag/data Keep user and password blank.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published