Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

A simple docker-compose and Dockerfile to create a GitBucket container on SBCs.

License

Notifications You must be signed in to change notification settings

aziascreations/Docker-GitBucket-ARM64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker - GitBucket for ARM64

A simple docker-compose file that can be used to create a GitBucket container on SBCs.

Requirements

CPU Architecture: ARM64 (Use the official image for AMD64)
RAM: Between 256 and 512 MiB
HDD: Around 200 MiB

Remarks

This container is not intended to be used with an external database and forces GitBucket to use a local DB.
However, it should be relatively easy to use an external one if you change the DATABASE_URL environment variable.

This container also uses the Temurin OpenJDK distribution from Adoptium and not the openjdk-11-jre-headless and openjdk-11-jdk-headless packages from bitnami/minideb.

This repository has only been tested with on GitBucket v4.36.0 to v4.37.0 !

Building

Docker

TODO

Docker-compose

  1. Clone the repository
  2. Configure the files according to the Configuration section.
  3. Run docker-compose up in the cloned repository's folder.

Configuration

Dockerfile (Not recommended)

You can remove the last part of the second instruction to prevent the installation of Git if you don't intend to use any extension that requires it to be installed.

You can also edit the last CMD instruction to change the -Xms128m and -Xmx256m JVM arguments to more appropriate values if you need to support more than a couple concurent users and don't want to edit the docker-compose file or you docker build command.

Docker-compose

You can change GitBucket version by changing the GITBUCKET_DESIRED_VERSION build argument to the desired version number.

You can also uncomment and edit the GITBUCKET_HOME and DATABASE_URL environment variables if you intend to use an external database and/or data folder.

Finally, you can change the JVM_RAM_MIN and JVM_RAM_MAX environment variables to change the amount of RAM allocated to the JVM if you need to support more than a couple concurent users.

License

Unlicensed

This license does not apply to GitBucket, Java and any of the other applications used by this container.

About

A simple docker-compose and Dockerfile to create a GitBucket container on SBCs.

Topics

Resources

License

Stars

Watchers

Forks