From 75f473a2526f58ac07aed24ad75bee69c23d7d45 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Tue, 16 Dec 2025 15:39:26 +0000 Subject: [PATCH] Deprecate container --- README.md | 58 ++++++---------------------------------------------------- 1 files changed, 6 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index d105f7d..35ab309 100644 --- a/README.md +++ b/README.md @@ -1,58 +1,12 @@ # Gitblit -This is a Docker image of Gitblit (http://gitblit.com/) -based on `java:jre` +This Docker image is deprecated. -## Usage +Use the official one instead: +https://github.com/gitblit-org/gitblit-docker -```bash -docker run -d --name=gitblit \ - -p 8080:8080 -p 8443:8443 \ - -p 9418:9418 -p 29418:29418 \ - jacekkow/gitblit -``` -Gitblit interface should be available at http://127.0.0.1:8080/ -(user/password: `admin`/`admin`) +## Migration -By default it uses Docker data volume for persistence. - -You can update such installation by passing `--volumes-from` option -to `docker run`: - -```bash -docker pull jacekkow/gitblit -docker stop gitblit -docker rename gitblit gitblit-old -docker run -d --name=gitblit \ - -p 8080:8080 -p 8443:8443 \ - -p 9418:9418 -p 29418:29418 \ - --volumes-from gitblit-old \ - jacekkow/gitblit -docker rm -v gitblit-old -``` - -### Local storage - -If you prefer to have direct access to container's data -from the host, you can use local storage instead of data volumes: - -```bash -docker run -d --name=gitblit \ - -p 8080:8080 -p 8443:8443 \ - -p 9418:9418 -p 29418:29418 \ - -v /srv/gitblit:/opt/gitblit-data \ - jacekkow/gitblit -``` - -`gitblit-data` volume will be automatically populated -with default configuration if necessary. - -File ownership is recursively changed to -`gitblit:gitblit` (`500:500`) on each start. - -### Configuration - -You can configure the instance by editing files -in directory /opt/gitblit-data inside the container -(or appropriate host dir if local storage is used). +Please read "Migrating from an older image" section here: +https://github.com/gitblit-org/gitblit-docker/blob/master/README.md -- Gitblit v1.10.0