million12/docker-gitbucket

Name: docker-gitbucket

Owner: MILLION12

Description: GitBucket Docker Image behind Nginx and with HTTP/2 Support

Created: 2016-03-30 17:20:27.0

Updated: 2017-12-09 07:52:38.0

Pushed: 2017-11-29 23:40:06.0

Homepage:

Size: 21

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

GitBucket in Docker (Alpine with Supervisor)

CircleCI Build Status GitHub Open Issues
Stars Fork

Docker build

Felling like supporting me in my projects use donate button. Thank You!

NOTE: This image was refactored and stripped down to alpine version with Java 8 and Gitbucket
If users need ssl support please put it behind HAProxy or Nginx server.

Docker Image with GitBucket server based on Alpine Linux for lightweight

Environmental Variable
Usage
docker run \
  -d \
  --name gitbucket \
  -p 80:80 \
  -p 29418:29418 \
  million12/gitbucket

Mount data to host os and edit some variables.

docker run \
  -d \
  --name gitbucket \
  -p 80:80 \
  -p 29418:29418 \
  -e HOSTNAME=myhostanme.com \
  -e DATA_DIR=/my/custom/container/dir \
  -v /my/host/dir:/my/custom/container/dir \
  million12/gitbucket
Build
docker build -t million12/gitbucket .
Access GitBucket

Default Login and Password is root:root

Docker troubleshooting

Use docker command to see if all required containers are up and running:

cker ps

Check logs of gitbucket server container:

cker logs gitbucket

Sometimes you might just want to review how things are deployed inside a running container, you can do this by executing a bash shell through docker's exec command:

er exec -ti gitbucket /bin/bash

History of an image and size of layers:

er history --no-trunc=true million12/gitbucket | tr -s ' ' | tail -n+2 | awk -F " ago " '{print $2}'

Author

Author: Przemyslaw Ozgo (linux@ozgo.info)


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.