1
0

feat(added new versions): added version 6 and 7 to the molgenis catalogue

This commit is contained in:
sido 2018-03-10 12:25:59 +01:00
parent 9682aa79c5
commit 40b912ff00
5 changed files with 134 additions and 2 deletions

View File

@ -1,5 +1,5 @@
molgenis: molgenis:
image: webhost12.service.rug.nl/molgenis/molgenis:5.2.0 image: registry.webhosting.rug.nl/molgenis/molgenis:5.2.0
ports: ports:
- 8080 - 8080
links: links:
@ -50,6 +50,11 @@
# labels: # labels:
#io.rancher.sidekicks: elasticsearch-data #io.rancher.sidekicks: elasticsearch-data
opencpu:
image: registry.webhosting.rug.nl/molgenis/molgenis-opencpu
ports:
- 8004:8004
postgres-data: postgres-data:
image: busybox image: busybox
labels: labels:

View File

@ -1,5 +1,5 @@
molgenis: molgenis:
image: webhost12.service.rug.nl/molgenis/molgenis:6.0.0 image: registry.webhosting.rug.nl/molgenis/molgenis:6.0.0
ports: ports:
- 8080 - 8080
links: links:
@ -51,6 +51,11 @@
#io.rancher.sidekicks: elasticsearch-data #io.rancher.sidekicks: elasticsearch-data
io.rancher.scheduler.global: true io.rancher.scheduler.global: true
opencpu:
image: registry.webhosting.rug.nl/molgenis/molgenis-opencpu
ports:
- 8004:8004
postgres-data: postgres-data:
image: busybox image: busybox
labels: labels:

View File

@ -0,0 +1,16 @@
# MOLGENIS
Flexible software for scientific data
## Rancher configuration
This template creates a MOLGENIS stack on top of Rancher. It creates 3 docker services:
- MOLGENIS
- Postgress
- ElasticSearch
## Usage
- Select MOLGENIS from catalog
- The stack-name must not be altered (this is hardcoded in de docker-compose file)
- Click *Launch*
MOLGENIS can now be accessed over the Rancher network.

View File

@ -0,0 +1,78 @@
molgenis:
image: registry.webhosting.rug.nl/molgenis/molgenis:7.0.0
ports:
- 8080
links:
- postgres
- elasticsearch
volumes_from:
- molgenis-data
labels:
io.rancher.sidekicks: molgenis-data
io.rancher.container.pull_image: always
io.rancher.scheduler.global: true
traefik.frontend.rule: Host:${DOMAINS}
traefik.backend: ${TRAEFIK_BACKEND}
traefik.enable: true
traefik.port: 8080
postgres:
image: postgres:9.6-alpine
environment:
- POSTGRES_USER=molgenis
- POSTGRES_PASSWORD=molgenis
- POSTGRES_DB=molgenis
- PGDATA=/var/lib/postgresql/data/pgdata
volumes_from:
- postgres-data
ports:
- 5432
labels:
io.rancher.sidekicks: postgres-data
io.rancher.scheduler.global: true
opencpu:
image: registry.webhosting.rug.nl/molgenis/molgenis-opencpu
ports:
- 8004:8004
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.5.1
environment:
- "cluster.name=molgenis"
- "bootstrap.memory_lock=true"
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
- "xpack.security.enabled=false"
ulimits:
memlock:
soft: -1
hard: -1
# volumes_from:
# - elasticsearch-data
ports:
- 9200:9200
- 9300:9300
labels:
#io.rancher.sidekicks: elasticsearch-data
io.rancher.scheduler.global: true
postgres-data:
image: busybox
labels:
io.rancher.container.start_once: true
volumes:
- /var/lib/postgresql/data/pgdata
molgenis-data:
image: busybox
labels:
io.rancher.container.start_once: true
volumes:
- /opt/molgenis
# elasticsearch-data:
# image: busybox
# labels:
# io.rancher.container.start_once: true
# volumes:
# - /usr/share/elasticsearch/data

View File

@ -0,0 +1,28 @@
.catalog:
name: molgenis
version: v6.0.0
description: 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: "Backend:"
required: true
default: "test.molgenis.org"
type: "string"
start_on_create: true
scale: 1
health_check:
port: 8080
interval: 5000
unhealthy_threshold: 3
request_line: 'GET / HTTP/1.0'
healthy_threshold: 2
response_timeout: 5000