HUB
Sign inSign up

sapk/git-host

By sapk

•Updated almost 11 years ago

A gitbucket instance for the Resel users

Image
0

1.5K

sapk/git-host repository overview

⁠git-host

A gitbucket instance for the Resel users

⁠Déploiement

git clone https://github.com/ResEl-TB/git-host.git
docker build -t resel-tb/git-host .
docker run -d -v /data/gitbucket/dir:/data -p 22:22 -p 8080:8080 --name git-host resel-tb/git-host

Il faut configurer gitbucket après le premier lancement (activer le ssh sur le port 22 + activer auth LDAP) Note : l'utilisateur par défaut est root:root après un fresh install

⁠Redémarrage

Après un arret de la machine physique ou un docker stop

docker start git-host

⁠Mise à jour

  1. Effectuer les modifications dans le dossier git-host/.
  2. Re-construire, et tester le conteneur:
    docker build -t resel-tb/git-host . && docker run --rm -t -v /bckp/dir:/home/git resel-tb/git-host.
  3. Si fonctionnel, commiter et pusher les modifications: git commit -am 'DESCRIPTION' && git push.

⁠Test Run

docker run --rm -v /data/gitbucket/dir:/data -p 22:22 -p 8080:8080 --name git-host resel-tb/git-host
Tag summary
Recent tags
Content type
Image
Digest
sha256:d246375a9…
Size
169.2 MB
Last updated
almost 11 years ago
docker pull sapk/git-host:latest