This image is based on the openjdk official alpine-based image
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:
You can use some environment variables such as:
| Environment variable | Value | Example |
|---|---|---|
GITBUCKET_DB_URL, GITBUCKET_DB_USER, GITBUCKET_DB_PASSWORD | to use external database (MySQL, PostgreSQL) | jdbc:postgresql://db/gitbucket, user, password |
GITBUCKET_CERT | for LDAP Authentication | /path/to/your/cacert.pem |
GITBUCKET_EXTRA_DEPS | to install dependencies required by GitBucket plugins | git procps |
JAVA_OPTS | JavaVM options | -Xmx1g |
GITBUCKET_OPTS | GitBucket options | --host=example.com |
For more infomation, visit: here
visit here
Content type
Image
Digest
Size
104.3 MB
Last updated
over 6 years ago
docker pull 190ikp/gitbucket