Sign inSign up

190ikp/gitbucket

By 190ikp

•Updated over 6 years ago

Alpine-based GitBucket image

Image
0

788

190ikp/gitbucket repository overview

⁠Dockerfile for GitBucket

This image is based on the openjdk official alpine-based image⁠

⁠How To Use

To quickly run, do:

$ docker run -d -p 8080:8080 -p 29418:29418 -v ${PWD}/gitbucket:/gitbucket 190ikp/gitbucket

All data in GitBucket is mounted on ~/gitbucket.

Then go to http://localhost:8080/ and log in with ID: root / Pass: root.

To access the git repository over SSH (default: 29418), check this setting:

  • GitBucket > Administration > System Settings > SSH access

⁠Options

You can use some environment variables such as:

Environment variableValueExample
GITBUCKET_DB_URL, GITBUCKET_DB_USER, GITBUCKET_DB_PASSWORDto use external database (MySQL, PostgreSQL)jdbc:postgresql://db/gitbucket, user, password
GITBUCKET_CERTfor LDAP Authentication/path/to/your/cacert.pem
GITBUCKET_EXTRA_DEPSto install dependencies required by GitBucket pluginsgit procps
JAVA_OPTSJavaVM options-Xmx1g
GITBUCKET_OPTSGitBucket options--host=example.com

For more infomation, visit: here⁠

⁠Gitbucket's License

visit here⁠

Tag summary

Content type

Image

Digest

Size

104.3 MB

Last updated

over 6 years ago

docker pull 190ikp/gitbucket