1
0

Merge branch 'add-latest-and-stable' of p281392/molgenis-ops-rancher into master

This commit is contained in:
Sido Haakma 2018-03-15 07:47:52 +01:00 committed by Gogs
commit 67323a5917
20 changed files with 485 additions and 224 deletions

View File

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

View File

@ -1,21 +1,86 @@
app: molgenis:
image: registry.webhosting.rug.nl/molgenis:2.0.1 image: registry.webhosting.rug.nl/molgenis/molgenis:latest
ports: ports:
- 8081:8080 - 8080
links: links:
- db - postgres
volumes: - elasticsearch
- app-data:/opt/molgenis volumes_from:
labels: - molgenis-data
io.rancher.container.create_agent: true environment:
io.rancher.scheduler.global: true - "db_uri=jdbc:postgresql://postgres/molgenis?reWriteBatchedInserts=true&autosave=CONSERVATIVE"
traefik.frontend.rule: Host:${DOMAINS} - "db_driver=org.postgresql.Driver"
traefik.backend: ${TRAEFIK_BACKEND} - "db_user=molgenis"
traefik.enable: true - "db_password=molgenis"
traefik.port: 8080 - "admin.password=admin"
db: - "elasticsearch.cluster.name=molgenis"
image: registry.webhosting.rug.nl/molgenis-postgres:2.0.1 - "elasticsearch.transport.addresses=elasticsearch:9300"
expose: labels:
- 5432 io.rancher.sidekicks: molgenis-data
volumes: io.rancher.container.pull_image: always
- db-data:/var/lib/postgresql/data 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:latest
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

@ -1,6 +1,6 @@
.catalog: .catalog:
name: molgenis name: molgenis
version: v2.0.0 version: latest
description: Molgenis description: Molgenis
minimum_rancher_version: v1.6.3 minimum_rancher_version: v1.6.3
questions: questions:
@ -25,4 +25,4 @@
unhealthy_threshold: 3 unhealthy_threshold: 3
request_line: 'GET / HTTP/1.0' request_line: 'GET / HTTP/1.0'
healthy_threshold: 2 healthy_threshold: 2
response_timeout: 5000 response_timeout: 5000

View File

@ -1,13 +1,12 @@
# MOLGENIS # MOLGENIS
Flexible software for scientific data Flexible software for scientific data
## Rancher configuration ## Rancher configuration
This template creates a MOLGENIS stack on top of Rancher. It creates 3 docker services: This template creates a MOLGENIS stack on top of Rancher. It creates 3 docker services:
- MOLGENIS - MOLGENIS
- Elasticsearch is packaged with MOLGENIS
- Postgress - Postgress
- ElasticSearch
## Usage ## Usage
- Select MOLGENIS from catalog - Select MOLGENIS from catalog

View File

@ -1,42 +1,86 @@
app: molgenis:
image: registry.webhosting.rug.nl/molgenis/molgenis:4.1.0 image: registry.webhosting.rug.nl/molgenis/molgenis:stable
ports: ports:
- 8081:8080 - 8080
links: links:
- db - postgres
volumes_from: - elasticsearch
- molgenis-data volumes_from:
labels: - molgenis-data
io.rancher.sidekicks: molgenis-data environment:
io.rancher.scheduler.global: true - "db_uri=jdbc:postgresql://postgres/molgenis?reWriteBatchedInserts=true&autosave=CONSERVATIVE"
traefik.frontend.rule: Host:${DOMAINS} - "db_driver=org.postgresql.Driver"
traefik.backend: ${TRAEFIK_BACKEND} - "db_user=molgenis"
traefik.enable: true - "db_password=molgenis"
traefik.port: 8080 - "admin.password=admin"
- "elasticsearch.cluster.name=molgenis"
- "elasticsearch.transport.addresses=elasticsearch:9300"
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
db: postgres:
image: postgres:9.6-alpine image: postgres:9.6-alpine
environment: environment:
- POSTGRES_USER=molgenis - POSTGRES_USER=molgenis
- POSTGRES_PASSWORD=molgenis - POSTGRES_PASSWORD=molgenis
- POSTGRES_DB=molgenis - POSTGRES_DB=molgenis
expose: - PGDATA=/var/lib/postgresql/data/pgdata
- 5432 volumes_from:
volumes_from:
- postgres-data - postgres-data
ports:
- 5432
labels: labels:
io.rancher.sidekicks: postgres-data io.rancher.sidekicks: postgres-data
io.rancher.scheduler.global: true io.rancher.scheduler.global: true
postgres-data: opencpu:
image: registry.webhosting.rug.nl/molgenis/molgenis-opencpu:stable
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 image: busybox
labels: labels:
io.rancher.container.start_once: true io.rancher.container.start_once: true
volumes: volumes:
- /var/lib/postgresql/data/pgdata - /var/lib/postgresql/data/pgdata
molgenis-data: molgenis-data:
image: busybox image: busybox
labels: labels:
io.rancher.container.start_once: true io.rancher.container.start_once: true
volumes: volumes:
- /opt/molgenis - /opt/molgenis
# elasticsearch-data:
# image: busybox
# labels:
# io.rancher.container.start_once: true
# volumes:
# - /usr/share/elasticsearch/data

View File

@ -1,6 +1,6 @@
.catalog: .catalog:
name: molgenis name: molgenis
version: v4.1.0 version: stable
description: Molgenis description: Molgenis
minimum_rancher_version: v1.6.3 minimum_rancher_version: v1.6.3
questions: questions:
@ -25,4 +25,4 @@
unhealthy_threshold: 3 unhealthy_threshold: 3
request_line: 'GET / HTTP/1.0' request_line: 'GET / HTTP/1.0'
healthy_threshold: 2 healthy_threshold: 2
response_timeout: 5000 response_timeout: 5000

View File

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

View File

@ -1,79 +1,21 @@
molgenis: app:
image: registry.webhosting.rug.nl/molgenis/molgenis:5.2.0 image: registry.webhosting.rug.nl/molgenis:2.0.1
ports: ports:
- 8080 - 8081:8080
links: links:
- postgres - db
- elasticsearch volumes:
volumes_from: - app-data:/opt/molgenis
- molgenis-data labels:
labels: io.rancher.container.create_agent: true
io.rancher.sidekicks: molgenis-data io.rancher.scheduler.global: true
io.rancher.container.pull_image: always traefik.frontend.rule: Host:${DOMAINS}
io.rancher.scheduler.global: true traefik.backend: ${TRAEFIK_BACKEND}
traefik.frontend.rule: Host:${DOMAINS} traefik.enable: true
traefik.backend: ${TRAEFIK_BACKEND} traefik.port: 8080
traefik.enable: true db:
traefik.port: 8080 image: registry.webhosting.rug.nl/molgenis-postgres:2.0.1
expose:
postgres: - 5432
image: postgres:9.6-alpine volumes:
environment: - db-data:/var/lib/postgresql/data
- 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
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
opencpu:
image: registry.webhosting.rug.nl/molgenis/molgenis-opencpu:5.2.0
ports:
- 8004:8004
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
# io.rancher.scheduler.affinity:host_label: type=molgenis
# io.rancher.scheduler.affinity:container_label: io.rancher.stack.name=molgenis
# volumes:
# - /usr/share/elasticsearch/data

View File

@ -1,6 +1,6 @@
.catalog: .catalog:
name: molgenis name: molgenis
version: v5.2.0 version: v2.0.0
description: Molgenis description: Molgenis
minimum_rancher_version: v1.6.3 minimum_rancher_version: v1.6.3
questions: questions:

View File

@ -1,12 +1,13 @@
# MOLGENIS # MOLGENIS
Flexible software for scientific data Flexible software for scientific data
## Rancher configuration ## Rancher configuration
This template creates a MOLGENIS stack on top of Rancher. It creates 3 docker services: This template creates a MOLGENIS stack on top of Rancher. It creates 3 docker services:
- MOLGENIS - MOLGENIS
- Elasticsearch is packaged with MOLGENIS
- Postgress - Postgress
- ElasticSearch
## Usage ## Usage
- Select MOLGENIS from catalog - Select MOLGENIS from catalog

View File

@ -1,78 +1,42 @@
molgenis: app:
image: registry.webhosting.rug.nl/molgenis/molgenis:6.0.0 image: registry.webhosting.rug.nl/molgenis/molgenis:4.1.0
ports: ports:
- 8080 - 8081:8080
links: links:
- postgres - db
- elasticsearch volumes_from:
volumes_from: - molgenis-data
- molgenis-data labels:
labels: io.rancher.sidekicks: molgenis-data
io.rancher.sidekicks: molgenis-data io.rancher.scheduler.global: true
io.rancher.container.pull_image: always traefik.frontend.rule: Host:${DOMAINS}
io.rancher.scheduler.global: true traefik.backend: ${TRAEFIK_BACKEND}
traefik.frontend.rule: Host:${DOMAINS} traefik.enable: true
traefik.backend: ${TRAEFIK_BACKEND} traefik.port: 8080
traefik.enable: true
traefik.port: 8080
postgres: db:
image: postgres:9.6-alpine image: postgres:9.6-alpine
environment: environment:
- POSTGRES_USER=molgenis - POSTGRES_USER=molgenis
- POSTGRES_PASSWORD=molgenis - POSTGRES_PASSWORD=molgenis
- POSTGRES_DB=molgenis - POSTGRES_DB=molgenis
- PGDATA=/var/lib/postgresql/data/pgdata expose:
volumes_from:
- postgres-data
ports:
- 5432 - 5432
volumes_from:
- postgres-data
labels: labels:
io.rancher.sidekicks: postgres-data io.rancher.sidekicks: postgres-data
io.rancher.scheduler.global: true io.rancher.scheduler.global: true
elasticsearch: postgres-data:
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
opencpu:
image: registry.webhosting.rug.nl/molgenis/molgenis-opencpu:6.0.0
ports:
- 8004:8004
postgres-data:
image: busybox image: busybox
labels: labels:
io.rancher.container.start_once: true io.rancher.container.start_once: true
volumes: volumes:
- /var/lib/postgresql/data/pgdata - /var/lib/postgresql/data/pgdata
molgenis-data: molgenis-data:
image: busybox image: busybox
labels: labels:
io.rancher.container.start_once: true io.rancher.container.start_once: true
volumes: volumes:
- /opt/molgenis - /opt/molgenis
# elasticsearch-data:
# image: busybox
# labels:
# io.rancher.container.start_once: true
# volumes:
# - /usr/share/elasticsearch/data

View File

@ -1,6 +1,6 @@
.catalog: .catalog:
name: molgenis name: molgenis
version: v6.0.0 version: v4.1.0
description: Molgenis description: Molgenis
minimum_rancher_version: v1.6.3 minimum_rancher_version: v1.6.3
questions: questions:
@ -25,4 +25,4 @@
unhealthy_threshold: 3 unhealthy_threshold: 3
request_line: 'GET / HTTP/1.0' request_line: 'GET / HTTP/1.0'
healthy_threshold: 2 healthy_threshold: 2
response_timeout: 5000 response_timeout: 5000

View File

@ -1,5 +1,5 @@
molgenis: molgenis:
image: registry.webhosting.rug.nl/molgenis/molgenis:7.0.0-SNAPSHOT image: registry.webhosting.rug.nl/molgenis/molgenis:5.2.0
ports: ports:
- 8080 - 8080
links: links:
@ -7,13 +7,6 @@
- elasticsearch - elasticsearch
volumes_from: volumes_from:
- molgenis-data - molgenis-data
environment:
- "db_uri=jdbc:postgresql://postgres/molgenis?reWriteBatchedInserts=true&autosave=CONSERVATIVE"
- "db_driver=org.postgresql.Driver"
- "db_user=molgenis"
- "db_password=molgenis"
- "elasticsearch.cluster.name=molgenis"
- "elasticsearch.transport.addresses=elasticsearch:9300"
labels: labels:
io.rancher.sidekicks: molgenis-data io.rancher.sidekicks: molgenis-data
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
@ -38,11 +31,6 @@
io.rancher.sidekicks: postgres-data io.rancher.sidekicks: postgres-data
io.rancher.scheduler.global: true io.rancher.scheduler.global: true
opencpu:
image: registry.webhosting.rug.nl/molgenis/molgenis-opencpu:7.0.0-SNAPSHOT
ports:
- 8004:8004
elasticsearch: elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.5.1 image: docker.elastic.co/elasticsearch/elasticsearch:5.5.1
environment: environment:
@ -59,9 +47,13 @@
ports: ports:
- 9200:9200 - 9200:9200
- 9300:9300 - 9300:9300
labels: # labels:
#io.rancher.sidekicks: elasticsearch-data #io.rancher.sidekicks: elasticsearch-data
io.rancher.scheduler.global: true
opencpu:
image: registry.webhosting.rug.nl/molgenis/molgenis-opencpu:5.2.0
ports:
- 8004:8004
postgres-data: postgres-data:
image: busybox image: busybox
@ -81,5 +73,7 @@
# image: busybox # image: busybox
# labels: # labels:
# io.rancher.container.start_once: true # io.rancher.container.start_once: true
# io.rancher.scheduler.affinity:host_label: type=molgenis
# io.rancher.scheduler.affinity:container_label: io.rancher.stack.name=molgenis
# volumes: # volumes:
# - /usr/share/elasticsearch/data # - /usr/share/elasticsearch/data

View File

@ -1,6 +1,6 @@
.catalog: .catalog:
name: molgenis name: molgenis
version: v7.0.0 version: v5.2.0
description: Molgenis description: Molgenis
minimum_rancher_version: v1.6.3 minimum_rancher_version: v1.6.3
questions: questions:
@ -25,4 +25,4 @@
unhealthy_threshold: 3 unhealthy_threshold: 3
request_line: 'GET / HTTP/1.0' request_line: 'GET / HTTP/1.0'
healthy_threshold: 2 healthy_threshold: 2
response_timeout: 5000 response_timeout: 5000

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:6.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
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
opencpu:
image: registry.webhosting.rug.nl/molgenis/molgenis-opencpu:6.0.0
ports:
- 8004:8004
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

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,86 @@
molgenis:
image: registry.webhosting.rug.nl/molgenis/molgenis:7.0.0-SNAPSHOT
ports:
- 8080
links:
- postgres
- elasticsearch
volumes_from:
- molgenis-data
environment:
- "db_uri=jdbc:postgresql://postgres/molgenis?reWriteBatchedInserts=true&autosave=CONSERVATIVE"
- "db_driver=org.postgresql.Driver"
- "db_user=molgenis"
- "db_password=molgenis"
- "admin.password=admin"
- "elasticsearch.cluster.name=molgenis"
- "elasticsearch.transport.addresses=elasticsearch:9300"
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:7.0.0-SNAPSHOT
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: v7.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