Skip to content

appkr/bamboo-docker

 
 

Repository files navigation

Bamboo for Docker

Set of docker images to install Atlassian Bamboo Agent based on phusion/baseimage-docker.

Documentation

Here you can find info how to setup Bamboo on Rancher.

Info

This is a part of a Bamboo Stack. You can download docker-compose.yml and check out how it works!

Bamboo Stack is also available in my custom rancher-stack, so with just a few clicks you can use, scale and upgrade it!

What's in stack?

bamboo-server - Bamboo Server
bamboo-data - Bamboo Volume Storage
postgres - Database Server
postgres-data - Database Volume Storage
bamboo-agent - Bamboo Agent

Usage

$ mkdir bamboo-stack
$ cd bamboo-stack
$ wget https://raw.githubusercontent.com/matisku/bamboo-docker/master/docker-compose.yml
$ docker-compose up -d .

This will create a new docker stack called bamboo-stack

Bamboo Server

Once stack will start, provide a license. If you are using docker-compose.yml from my repository, as a database hostname use postgres and for database user and password use bamboo.

Bamboo Agent

Once stack will start, go to Bamboo Server Administration->Agents and disable remote agent authentication. This will add any new agent automatically to the Bamboo Server. If there is a need to have remote agent authentication enabled, enable each agent manually.

Environment

###Bamboo Server:
BAMBOO_HOME - Bamboo home directory. Default: /home/bamboo
BAMBOO_VERSION - The version to install an run. Default: 5.15.3
BAMBOO_BAMBOO_SERVER_ID - Used for agent authentication withing docker-compose. Default: bamboo-server

###Database:
PGDATA - Database Storage Folder. Default: /var/lib/postgresql/data/pgdata
POSTGRES_DB - Database Name. Default: bamboo
POSTGRES_USER - Database User. Default: bamboo
POSTGRES_PASSWORD - Database Password. Default: bamboo

###Bamboo Agent:
AGENT_VERSION - This should match the version of Bamboo Server. Default: 5.15.3
BAMBOO_SERVER - URL or IP of Bamboo Server where agent should be attached. Default: bamboo-server
BAMBOO_SERVER_PORT - External port of Bamboo Server UI. In case of using docker-compose stack, this can be linked name. Default: 8085
PACKAGES - space separated list of additional packages which should be installed on Bamboo Agent. Default: "mc htop"

###Ports: Bamboo Server: 8085, 54663
Database: 5432

Metadata

License

Copyright © 2017 Mateusz Trojak. See LICENSE for details.

Contributors

Any forks are welcome!

About

Bamboo Docker Rancher

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%