Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 3.46 KB

README.md

File metadata and controls

42 lines (27 loc) · 3.46 KB

Build Status Open Issues Stars on GitHub Forks on GitHub Stars on Docker Hub Pulls on Docker Hub Sponsor by PayPal

Atlassian Bitbucket Server in a Docker container

This is a containerized installation of Atlassian Bitbucket Server with Docker, and it's a match made in heaven for us all to enjoy. The aim of this image is to keep the installation as straight forward as possible, but with a few Docker related twists. You can get started by clicking the appropriate link below and reading the documentation.

If you want to help out, you can check out the contribution section further down.

Note: newer versions of Atlassian Bitbucket Server includes an Elastic Search service as well, that is when you are not running Bitbucket in foreground mode. To include searching capability using the Elastic Search bundled system add-on it is necessary to setup an external service for this ie. starting an additional container running Elastic Search.

I'm in the fast lane! Get me started

To quickly get started running a Bitbucket Server instance, use the following command:

docker run --detach --publish 7990:7990 cptactionhank/atlassian-bitbucket:latest

Then simply navigate your preferred browser to http://[dockerhost]:7990 and finish the configuration.

Configuration

You can configure a small set of things by supplying the following environment variables

Environment Variable Description
X_PATH Sets the Tomcat connectors path attribute
X_CROWD_SSO Set to true to enable SSO via Atlassian Crowd

How to enable SSO via Crowd

Setting X_CROWD_SSO to true will enable Crowd SSO in your bitbucket.properties. You will have to put your crowd-properties.conf to ${BITBUCKET_HOME}/shared and set up the user directory in Bitbucket.

See the official Documentation for more information.

This image is based on https://github.com/cptactionhank/docker-atlassian-bitbucket