Giter Club home page Giter Club logo

bamboo-server's Introduction

bamboo-server

based on https://github.com/hwuethrich/docker-images/tree/master/bamboo-server but added some build tools to be able to use it in standalone/private mode without remote agents

Rest is copy&pasted from hwuethrich:

Bamboo Server

Docker image to install Atlassian Bamboo and run the server using supervisord.

Usage

It's as simple as:

docker pull hwuethrich/bamboo-server
docker run -d hwuethrich/bamboo-server

Customize exposed ports

By default, the ports 8085 (admin interface) and 54663 (agent server) are mapped to random ports on the docker host. To customize, run:

docker run -p 8085:8085 -p 54663:54663 hwuethrich/bamboo-server

If you want to use Bamboo remote agents, make sure to set the public port (and hostname) in the Bamboo settings (or directly in /home/bamboo/bamboo.cfg.xml).

More info about port redirection can be found in the official Docker documentation.

Persist BAMBOO_HOME on the docker host

By default the Bamboo config and database is stored in the container in /home/bamboo. You may map a directory on the host to this directory to store the Bamboo config and database outside of the container.

This is useful if you want to start containers using different versions of the image but with the same Bamboo database and license or if you want to backup this directory on the host. It also allows you to upgrade your Bamboo server without losing your data:

docker run -v /data/bamboo-server:/home/bamboo -d hwuethrich/bamboo-server

Running a different Bamboo version

By default, the container downloads and installs Bamboo v5.4 on the first boot. To specify which version to install, set the environment variable BAMBOO_VERSION:

docker run -e BAMBOO_VERSION=5.2 -d hwuethrich/bamboo-server

Version 5.1.0 and later should work.

Combined options

The following example shows the options I use for our CI environment:

docker run -name bamboo-server \
  -e TZ=Europe/Zurich -e JAVA_OPTS=-Xmx1024m -e BAMBOO_VERSION=5.2 \
  -v /opt/bamboo-server:/home/bamboo -p 8085:8085 -p 54663:54663 \
  -d hwuethrich/bamboo-server

Debugging

By default, the container runs Bamboo with supervisord in the background. If you want to start Bamboo in the foreground and see the log output, run:

docker run -t -i hwuethrich/bamboo-server /start/bamboo-server

Directories

  • /opt/atlassian-bamboo-$BAMBOO_VERSION - Bamboo installation directory
  • /home/bamboo - Bamboo home directory (BAMBOO_HOME)

Variables

  • BAMBOO_HOME - Bamboo home directory (default /home/bamboo)
  • BAMBOO_VERSION - The version to install an run (default 5.1.1)

Exposed ports

  • 8085 - Bamboo admin interface
  • 54663 - Bamboo agent server

bamboo-server's People

Watchers

Florian Pfeiffer avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.