Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Bamboo Docker Install and Run

Install Docker and Git

Clone this repository to your local workspace:

git clone git@bitbucket.org:GLiNTECH/docker-atlassian-bamboo.git

Build Bamboo Docker image

sudo docker built -t glintech/bamboo .

Pull Postgres image and run it

sudo docker pull postgres:latest
sudo docker run -d -p=5432:5432 -v /opt/postgres/atlassian:/var/lib/postgresql/data --name postgres postgres:latest

Get Postgres container IP Address

sudo docker inspect postgres | grep -i ipaddress

e.g "IPAddress": "172.17.0.5",

Connect to Postgres console

psql -U postgres -h <x.x.x.x>

Create User and DB

CREATE USER bamboo WITH PASSWORD 'password';
CREATE DATABASE bamboodb WITH OWNER bamboo ENCODING 'UTF8' LC_COLLATE 'C' LC_CTYPE 'C' TEMPLATE template0;

Run Bamboo container

sudo docker run -d -v /opt/atlassian/bamboo/home:/opt/atlassian/bamboo-home  --link postgres:db -p=8085:8085 --name bamboo glintech/bamboo
Docker Pull Command
Owner
glintech

Comments (0)