Self-host GitBucket on a VPS
A Git hosting platform with issues, pull requests and a wiki, on a data volume. The first account is root with the password root, so change it right after the first sign in.
levelrail-cli templates deploy gitbucket --name my-gitbucketSpecification
- Status
- Listed
- Category
- Developer Tools
- Services
- gitbucket
- Ports
- 8080
- Volumes
- 1
- Memory
- about 512 MiB
- arm64
- unknown
- amd64
- unknown
- Settings to fill in
- none
- License
- Permissive license, Apache-2.0
- Listing
- Community template
About GitBucket
A Git hosting platform with issues, pull requests and a wiki, on a data volume. The first account is root with the password root, so change it right after the first sign in.
What it deploys
GitBucket runs as one service in a single Compose app, listening on port 8080, with 1 named volume mount.
| Service | Image | Tag | Ports | Volumes |
|---|---|---|---|---|
| gitbucket | gitbucket/gitbucket | 4.38.4 | 8080 | gitbucket_data -> /gitbucket |
Before you install
- CPU architecture. arm64 unknown. The scan could not read a manifest or the tag is chosen at install time. This is not a claim either way.
- Listed. It is in the catalog. Back up the data volume before changing an image tag.
Settings and environment
The catalog lists no environment variables for this template.
First run
- Sign in as root with the password root and change the password at once, because it is public knowledge.
Install GitBucket on a VPS
-
Install Levelrail on a fresh VPS
Run this as root on a Linux server (amd64 or arm64) with ports 80 and 443 reachable. The installer prints a setup link.
curl -fsSL https://levelrail.com/install.sh | sudo sh -
Sign in
Open the setup link, choose a password, then log the CLI in. The CLI install command is
curl -fsSL https://levelrail.com/install-cli.sh | shif the machine does not have it. See Getting started.levelrail-cli login --device -
Read the template
Shows the entry, including its full compose.yaml.
levelrail-cli templates get gitbucket -
Deploy it
This deploys the template compose file as an app. The app name defaults to the template id; --name sets another.
levelrail-cli templates deploy gitbucket --name my-gitbucket
Without a domain the app gets an sslip.io address. You can also deploy it from the dashboard: Apps, New app, Browse templates, then GitBucket.
Docs and upstream
More in Developer Tools
- GiteaA lightweight, self-hosted Git service with issues, pull requests, and a package registry.
- Gitea (Postgres)Gitea backed by Postgres instead of its default MySQL, for operators standardizing on one database engine.
- GitLabGitLab Community Edition: Git hosting, CI/CD, issues, and a container registry in one Omnibus image.
- GitLab CEA complete DevOps platform for source control, code review, issues, and CI/CD in one place.
- GitnessHarness Open Source, a Git host with code review, pipelines and an artifact registry in one binary. Apache-2.0 licensed. Uses an embedded SQLite database on the data volume. The first user to register becomes the admin, then turn off sign-ups. Pipelines that run containers need Docker access, which this template does not grant.
- Forgejo (Postgres)Forgejo backed by Postgres instead of its default SQLite, for a multi-writer-safe production setup.