diff --git a/templates/opencpu/0/README.md b/templates/opencpu/0/README.md new file mode 100644 index 0000000..e5cc915 --- /dev/null +++ b/templates/opencpu/0/README.md @@ -0,0 +1,17 @@ +# Jenkins for MOLGENIS +Flexible software for scientific data + +## Rancher configuration +These templates can create a range of MOLGENIS stacks on top of Rancher. The latests and stable release serves 4 docker services: + +- Jenkins +- Jenkins Agent - Development tools + +## Usage +- Select Jenkins from catalog +- Fill in the questions in the template area +- Click *Launch* + +## Loadbalancers +You can check lb.molgenis.org to check the availabity of the stack. + diff --git a/templates/opencpu/0/docker-compose.yml b/templates/opencpu/0/docker-compose.yml new file mode 100644 index 0000000..65aaf8c --- /dev/null +++ b/templates/opencpu/0/docker-compose.yml @@ -0,0 +1,29 @@ +version: '2.1' + +services: + opencpu: + image: registry.webhosting.rug.nl/molgenis/molgenis-opencpu:latest + ports: + - 8004 + - 50000 + restart: always + labels: + io.rancher.container.pull_image: always + healthcheck: + test: ["CMD", "curl", "-sS", "http://localhost:8004"] + interval: 5s + timeout: 10s + retries: 5 + + + apache: + image: registry.webhosting.rug.nl/docker-molgenis-ops-releases/apache:latest + ports: + - 80 + restart: always + labels: + io.rancher.container.pull_image: always + traefik.frontend.rule: Host:${DOMAINS} + traefik.backend: ${TRAEFIK_BACKEND} + traefik.enable: true + traefik.port: 80 diff --git a/templates/opencpu/0/rancher-compose.yml b/templates/opencpu/0/rancher-compose.yml new file mode 100644 index 0000000..b76d896 --- /dev/null +++ b/templates/opencpu/0/rancher-compose.yml @@ -0,0 +1,18 @@ +.catalog: + name: opencpu + version: latest + description: OpenCPU for Molgenis + minimum_rancher_version: v1.6.3 + questions: + - variable: "DOMAINS" + description: "Domain you want to use (comma seperated)" + label: "Domains:" + required: true + default: "test.molgenis.org,test.dcktest.gcc.rug.nl" + type: "string" + - variable: "TRAEFIK_BACKEND" + description: "Name of the server when added to loadbalancer" + label: "Traefik backend:" + required: true + default: "test.molgenis.org" + type: "string" diff --git a/templates/opencpu/catalogIcon-molgenis-jenkins.svg b/templates/opencpu/catalogIcon-molgenis-jenkins.svg new file mode 100644 index 0000000..1227303 --- /dev/null +++ b/templates/opencpu/catalogIcon-molgenis-jenkins.svg @@ -0,0 +1,1768 @@ + + + + diff --git a/templates/opencpu/config.yml b/templates/opencpu/config.yml new file mode 100644 index 0000000..aba01ce --- /dev/null +++ b/templates/opencpu/config.yml @@ -0,0 +1,7 @@ +name: OpenCPU +description: | + OpenCPU for Molgenis +version: v1.0.0 +category: All +maintainer: Molgenis DEVOPS-team +projectURL: https://www.opencpu.org/