{"id":19175844,"url":"https://github.com/handcraftedbits/docker-nginx-unit-bamboo","last_synced_at":"2026-06-03T16:31:24.612Z","repository":{"id":95812216,"uuid":"63832504","full_name":"handcraftedbits/docker-nginx-unit-bamboo","owner":"handcraftedbits","description":"A Docker container that provides an Atlassian Bamboo unit for NGINX Host","archived":false,"fork":false,"pushed_at":"2017-03-21T02:02:57.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-13T03:55:39.557Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/handcraftedbits.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-21T03:05:53.000Z","updated_at":"2018-01-03T18:27:30.000Z","dependencies_parsed_at":"2023-04-30T11:48:10.842Z","dependency_job_id":null,"html_url":"https://github.com/handcraftedbits/docker-nginx-unit-bamboo","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/handcraftedbits/docker-nginx-unit-bamboo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/handcraftedbits%2Fdocker-nginx-unit-bamboo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/handcraftedbits%2Fdocker-nginx-unit-bamboo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/handcraftedbits%2Fdocker-nginx-unit-bamboo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/handcraftedbits%2Fdocker-nginx-unit-bamboo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/handcraftedbits","download_url":"https://codeload.github.com/handcraftedbits/docker-nginx-unit-bamboo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/handcraftedbits%2Fdocker-nginx-unit-bamboo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33874679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-03T02:00:06.370Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T10:25:40.569Z","updated_at":"2026-06-03T16:31:24.597Z","avatar_url":"https://github.com/handcraftedbits.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NGINX Host Bamboo Unit [![Docker Pulls](https://img.shields.io/docker/pulls/handcraftedbits/nginx-unit-bamboo.svg?maxAge=2592000)](https://hub.docker.com/r/handcraftedbits/nginx-unit-bamboo)\n\nA [Docker](https://www.docker.com) container that provides an\n[Atlassian Bamboo](https://www.atlassian.com/software/bamboo) unit for\n[NGINX Host](https://github.com/handcraftedbits/docker-nginx-host).\n\n# Features\n\n* Atlassian Bamboo 5.15.3\n* [Apache Maven](https://maven.apache.org) 3.3.9\n* NGINX Host SSL certificates are automatically imported into Bamboo's JVM so Atlassian application links can easily\n  be created\n\n# Usage\n\n## Prerequisites\n\n### Database\n\nMake sure you have a\n[supported database](https://confluence.atlassian.com/bamboo/connecting-bamboo-to-an-external-database-289276815.html)\navailable either as a container or standalone.\n\n### `NGINX_UNIT_HOSTS` Considerations\n\nIt is important that the value of your `NGINX_UNIT_HOSTS` environment variable is set to a single value and doesn't\ninclude wildcards or regular expressions as this value will be used by Bamboo to determine the hostname.\n\n## Configuration\n\nIt is highly recommended that you use container orchestration software such as\n[Docker Compose](https://www.docker.com/products/docker-compose) when using this NGINX Host unit as several Docker\ncontainers are required for operation.  This guide will assume that you are using Docker Compose.  Additionally, we\nwill use the [official PostgreSQL Docker container](https://hub.docker.com/_/postgres/) for our database.\n\nTo begin, start with a basic `docker-compose.yml` file as described in the\n[NGINX Host configuration guide](https://github.com/handcraftedbits/docker-nginx-host#configuration).  Then, add a\nservice for the database (named `db-bamboo`) and the NGINX Host Bamboo unit (named `bamboo`):\n\n```yaml\nbamboo:\n  image: handcraftedbits/nginx-unit-bamboo\n  environment:\n    - NGINX_UNIT_HOSTS=mysite.com\n    - NGINX_URL_PREFIX=/bamboo\n  links:\n    - db-bamboo\n  volumes:\n    - data:/opt/container/shared\n    - /home/me/bamboo:/opt/data/bamboo\n\ndb-bamboo:\n  image: postgres\n  environment:\n    - POSTGRES_USER=user\n    - POSTGRES_PASSWORD=password\n    - POSTGRES_DB=bamboo\n  volumes:\n    /home/me/db-bamboo:/var/lib/postgresql/data\n```\n\nObserve the following:\n\n* We create a link in `bamboo` to `db-bamboo` in order to allow Bamboo to connect to our database.\n* We mount `/opt/data/bamboo` using the local directory `/home/me/bamboo`.  This is the directory where Bamboo stores\n  its data.\n* As with any other NGINX Host unit, we mount our data volume, in this case named `data`, to `/opt/container/shared`.\n\nFor more information on configuring the PostgreSQL container, consult its\n[documentation](https://hub.docker.com/_/postgres/).\n\nFinally, we need to create a link in our NGINX Host container to the `bamboo` container in order to proxy Bamboo.  Here\nis our final `docker-compose.yml` file:\n\n```yaml\nversion: \"2.1\"\n\nvolumes:\n  data:\n\nservices:\n  bamboo:\n    image: handcraftedbits/nginx-unit-bamboo\n    environment:\n      - NGINX_UNIT_HOSTS=mysite.com\n      - NGINX_URL_PREFIX=/bamboo\n    links:\n      - db-bamboo\n    volumes:\n      - data:/opt/container/shared\n      - /home/me/bamboo:/opt/data/bamboo\n\n  db-bamboo:\n    image: postgres\n    environment:\n      - POSTGRES_USER=user\n      - POSTGRES_PASSWORD=password\n      - POSTGRES_DB=bamboo\n    volumes:\n      /home/me/db-bamboo:/var/lib/postgresql/data\n\n  proxy:\n    image: handcraftedbits/nginx-host\n    links:\n      - bamboo\n    ports:\n      - \"443:443\"\n    volumes:\n      - data:/opt/container/shared\n      - /etc/letsencrypt:/etc/letsencrypt\n      - /home/me/dhparam.pem:/etc/ssl/dhparam.pem\n```\n\nThis will result in making a Bamboo instance available at `https://mysite.com/bamboo`.\n\n## Running the NGINX Host Bamboo Unit\n\nAssuming you are using Docker Compose, simply run `docker-compose up` in the same directory as your\n`docker-compose.yml` file.  Otherwise, you will need to start each container with `docker run` or a suitable\nalternative, making sure to add the appropriate environment variables and volume references.\n\nWhen configuring Bamboo, be sure to select `PostgreSQL` as your database, `db-bamboo` as the database hostname, and\n`5432` as the database port if you configured your database according to the previous section.\n\n# Reference\n\n## Environment Variables\n\nPlease see the NGINX Host [documentation](https://github.com/handcraftedbits/docker-nginx-host#units) for information\non the environment variables understood by this unit.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhandcraftedbits%2Fdocker-nginx-unit-bamboo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhandcraftedbits%2Fdocker-nginx-unit-bamboo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhandcraftedbits%2Fdocker-nginx-unit-bamboo/lists"}