Clone this repository to your local workspace:
git clone [email protected]: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
Content type
Image
Digest
sha256:30d2b6420…
Size
421.9 MB
Last updated
almost 11 years ago
docker pull glintech/bamboo