How to configure Bamboo docker container to avoid first-time-setup pages
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Trying to set up a bamboo-server using Atlassian official docker image, and avoiding the first-time-setup.
Solution
Customers can use the ATL_BAMBOO_ENABLE_UNATTENDED_SETUP flag.
This method is normally used with our kubernetes solution, but can still work as a standalone strategy.
Please check the source code of the docker image's entrypoint.py to know more.
Please use the below sample docker run command with predefined and harcoded values and it skips the first-time-setup-page
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
docker run \
-e ATL_BAMBOO_ENABLE_UNATTENDED_SETUP='true' \
-e ATL_BAMBOO_SKIP_CONFIG='true' \
-e ATL_BAMBOO_DISABLE_AGENT_AUTH='true' \
-e ATL_LICENSE="*****" \
-e ATL_BASE_URL="localhost" \
-e ATL_ADMIN_USERNAME='admin' \
-e ATL_ADMIN_PASSWORD='****' \
-e ATL_ADMIN_FULLNAME='admin' \
-e ATL_ADMIN_EMAIL='admin@admin.admin' \
-e ATL_IMPORT_OPTION='clean' \
-e JVM_MINIMUM_MEMORY=2048m \
-e JVM_MAXIMUM_MEMORY=2048m \
-e ATL_DB_TYPE='h2' \
--name="local-bamboo" \
--detach \
--publish 8085:8085 \
--publish 54663:54663 \
atlassian/bamboo:latest
Please note
The last argument specifies the Bamboo server version. In the above run command it will spin up a container with latest Bamboo version. For specific version you can edit it like atlassian/bamboo:8.0.3
Was this helpful?