Skip to content

Docker image of GitBucket which is an open source GitHub server powered by Scala

Notifications You must be signed in to change notification settings

gitbucket/gitbucket-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gitbucket-docker default build nightly build

Docker image of GitBucket which is an open source GitHub server powered by Scala

How to use this image

docker run -d -p 8080:8080 ghcr.io/gitbucket/gitbucket

Add -p 29418:29418 option if you would like to enable SSH for repository access:

docker run -d -p 8080:8080 -p 29418:29418 ghcr.io/gitbucket/gitbucket

You can also specify the data directory by -v option:

docker run -d -p 8080:8080 -v `pwd`/gitbucket:/gitbucket ghcr.io/gitbucket/gitbucket

You can configure GitBucket via environment variables. For example, the uploadable file size can be set to 10MB as follows:

docker run -d -p 8080:8080 -e GITBUCKET_MAXFILESIZE=10485760 ghcr.io/gitbucket/gitbucket

See more details about how to configure GitBucket at: https://github.com/gitbucket/gitbucket/wiki/Basic-configurations