gitblit-org / gitblit-docker Goto Github PK
View Code? Open in Web Editor NEWGitblit on Docker
Gitblit on Docker
I use a raspi with my gitblit and build my own image. I used the alpine-linux version and it worked to build the image.
A official Image would be great.
Run docker with non root account
Adding volume will give persistance storeage
Try to use (from https://github.com/gitblit/gitblit-docker/blob/master/hub-readme.md):
docker run --rm -d --name gitblit --tmpfs /var/opt/gitblit/temp -p 8443:8443 gitblit/gitblit
But result is (https://localhost:8443/):
HTTP ERROR: 503
Problem accessing /. Reason:
Service Unavailable
Without tmpfs - that is OK:
docker run --rm -d --name gitblit -p 8443:8443 gitblit/gitblit
I'm trying to get gitblit to run with persistent storage, since I don't want to lose all my data/repositories when I restart the container.
I tried
docker run --name gitblit_persistent --rm -it -v ~/composeBuildserver/gitblit/:/opt/gitblit-data/ jmoger/gitblit
But this gives me the following error in gitblit
Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.moxie.MxLauncher.main(MxLauncher.java:129) Caused by: java.lang.RuntimeException: Password required! at com.gitblit.utils.X509Utils$X509Metadata.<init>(X509Utils.java:204) at com.gitblit.GitBlitServer.start(GitBlitServer.java:260) at com.gitblit.GitBlitServer.main(GitBlitServer.java:124)
Do you know any solution to this?
Would you be willing to make a tagged build on hub.docker.com for 1.6.2?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.