Add template for opencpu
This commit is contained in:
parent
18d77c6dfe
commit
165d56a1b8
17
templates/opencpu/0/README.md
Normal file
17
templates/opencpu/0/README.md
Normal file
@ -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.
|
||||||
|
|
29
templates/opencpu/0/docker-compose.yml
Normal file
29
templates/opencpu/0/docker-compose.yml
Normal file
@ -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
|
18
templates/opencpu/0/rancher-compose.yml
Normal file
18
templates/opencpu/0/rancher-compose.yml
Normal file
@ -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"
|
1768
templates/opencpu/catalogIcon-molgenis-jenkins.svg
Normal file
1768
templates/opencpu/catalogIcon-molgenis-jenkins.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 133 KiB |
7
templates/opencpu/config.yml
Normal file
7
templates/opencpu/config.yml
Normal file
@ -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/
|
Loading…
Reference in New Issue
Block a user