You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set some defaults in properties files that are controlled by docker.
The /opt/gitblit/system.properties file is out of reach for the user.
It can be sued to set defaults specific to the docker image and defaults
for new settings that get introduced in later versions.
The /opt/gitblit/data/gitblit-docker.properties file is in preparation
of being able to control certain settings by environment variables.
I don't believe that the docker image should set defaults that need to
be edited by the user, but instead the common practice of controlling
certain behaviour via env variables should be used. These can then be
reflected by settings in this file, which gets written by some docker
mechanism, e.g. an entry point script.
Of course, Gitblit could itself read from env variables, but that is a
larger change.
The followings commands should retrieve and execute the Gitblit image and launch Gitblit in a Docker container that serves the web UI on ports 8080 and 8443. Your repositories will also be accessible via ssh, http, https, and the git procotol. The RPC administration interface has also been enabled so that you may use the Gitblit Manager to configure settings, manage repositories, or manage users.
@@ -28,8 +28,6 @@ sudo docker start gitblit
28
28
29
29
## Build Instructions
30
30
31
-
Thanks to [Nicola Paolucci](https://blogs.atlassian.com/2013/11/docker-all-the-things-at-atlassian-automation-and-wiring/) at [Atlassian](https://atlassian.com) for the terrific [Stash](https://www.atlassian.com/stash) example.
0 commit comments