From d105ccf74f2430d24fef0d3f82681de3b0845204 Mon Sep 17 00:00:00 2001 From: Maik Ellerbrock Date: Fri, 9 Jun 2017 23:58:09 +0200 Subject: [PATCH] feat(catalog): add bitbucket to rancher-catalog templates --- templates/bitbucket/0/docker-compose.yml | 24 ++++ templates/bitbucket/0/rancher-compose.yml | 24 ++++ templates/bitbucket/README.md | 4 + templates/bitbucket/catalogIcon-bitbucket.svg | 104 ++++++++++++++++++ templates/bitbucket/config.yml | 6 + 5 files changed, 162 insertions(+) create mode 100644 templates/bitbucket/0/docker-compose.yml create mode 100644 templates/bitbucket/0/rancher-compose.yml create mode 100644 templates/bitbucket/README.md create mode 100644 templates/bitbucket/catalogIcon-bitbucket.svg create mode 100644 templates/bitbucket/config.yml diff --git a/templates/bitbucket/0/docker-compose.yml b/templates/bitbucket/0/docker-compose.yml new file mode 100644 index 0000000..8ab4137 --- /dev/null +++ b/templates/bitbucket/0/docker-compose.yml @@ -0,0 +1,24 @@ +version: '2' + +services: + + bitbucket: + image: atlassian/bitbucket-server:5.1 + volumes_from: + - bitbucket-data + ports: + - "${BITBUCKET_PORT}:7990" + labels: + io.rancher.sidekicks: bitbucket-data + io.rancher.container.hostname_override: container_name + + bitbucket-data: + image: atlassian/bitbucket-server:5.1 + entrypoint: + - /bin/true + volumes: + - /var/atlassian/application-data/bitbucket + labels: + io.rancher.container.start_once: 'true' + io.rancher.container.hostname_override: container_name + diff --git a/templates/bitbucket/0/rancher-compose.yml b/templates/bitbucket/0/rancher-compose.yml new file mode 100644 index 0000000..10589a0 --- /dev/null +++ b/templates/bitbucket/0/rancher-compose.yml @@ -0,0 +1,24 @@ +version: '2' + +catalog: + + name: bitbucket + version: 0.0.1 + description: Git Server + questions: + - variable: Bitbucket_PORT + label: Port + default: 80 + required: true + type: int + +services: + + bitbucket: + scale: 1 + start_on_create: true + + bitbucket-data: + scale: 1 + start_on_create: true + diff --git a/templates/bitbucket/README.md b/templates/bitbucket/README.md new file mode 100644 index 0000000..d9617f2 --- /dev/null +++ b/templates/bitbucket/README.md @@ -0,0 +1,4 @@ +# Bitbucket + +Read more in the official Bitbucket Docker [Documentation](https://bitbucket.org/atlassian/docker-atlassian-bitbucket-server). + diff --git a/templates/bitbucket/catalogIcon-bitbucket.svg b/templates/bitbucket/catalogIcon-bitbucket.svg new file mode 100644 index 0000000..77536e3 --- /dev/null +++ b/templates/bitbucket/catalogIcon-bitbucket.svg @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/bitbucket/config.yml b/templates/bitbucket/config.yml new file mode 100644 index 0000000..9799142 --- /dev/null +++ b/templates/bitbucket/config.yml @@ -0,0 +1,6 @@ +name: bitbucket +description: Git Server +version: 0.0.1 +category: Versioning +projectURL: https://github.com/ellerbrock/rancher-collection +