1
0
Fork 0

refactor(readme and compose): updated readmes and compose files

This commit is contained in:
sido 2018-03-08 17:21:41 +01:00
parent b9388c6a4c
commit c3a4827c83
6 changed files with 25 additions and 28 deletions

View File

@ -0,0 +1,12 @@
# Rancher
We use docker-compose.yml files to specify a version-range to deploy a MOLGENIS-stack
## Configuration
Exmaple
```bash
molgenis:
image: registry.webhosting.rug.nl/molgenis-docker:5.2.0
```

View File

@ -1,16 +1,15 @@
# MOLGENIS # MOLGENIS
**Flexible software for scientific data**
Flexible software for scientific data
## 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 - Elasticsearch is packaged with MOLGENIS
- Postgress - Postgress
**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) - The stack-name must not be altered (this is hardcoded in de docker-compose file)
- Click *Launch* - Click *Launch*

View File

@ -9,8 +9,7 @@ app:
labels: labels:
io.rancher.sidekicks: molgenis-data io.rancher.sidekicks: molgenis-data
io.rancher.scheduler.global: true io.rancher.scheduler.global: true
io.rancher.scheduler.affinity:host_label: type=molgenis
io.rancher.scheduler.affinity:container_label: io.rancher.stack.name=molgenis
db: db:
image: postgres:9.6-alpine image: postgres:9.6-alpine
environment: environment:
@ -24,22 +23,16 @@ app:
labels: labels:
io.rancher.sidekicks: postgres-data io.rancher.sidekicks: postgres-data
io.rancher.scheduler.global: true io.rancher.scheduler.global: true
io.rancher.scheduler.affinity:host_label: type=molgenis
io.rancher.scheduler.affinity:container_label: io.rancher.stack.name=molgenis
postgres-data: postgres-data:
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:
- /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
io.rancher.scheduler.affinity:host_label: type=molgenis
io.rancher.scheduler.affinity:container_label: io.rancher.stack.name=molgenis
volumes: volumes:
- /opt/molgenis - /opt/molgenis

View File

@ -1,16 +1,14 @@
# MOLGENIS # MOLGENIS
**Flexible software for scientific data** Flexible software for scientific data
## 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
- Postgress - Postgress
- ElasticSearch - ElasticSearch
**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) - The stack-name must not be altered (this is hardcoded in de docker-compose file)
- Click *Launch* - Click *Launch*

View File

@ -11,8 +11,7 @@
io.rancher.sidekicks: molgenis-data io.rancher.sidekicks: molgenis-data
io.rancher.scheduler.global: true io.rancher.scheduler.global: true
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
io.rancher.scheduler.affinity:host_label: type=molgenis
io.rancher.scheduler.affinity:container_label: io.rancher.stack.name=molgenis
postgres: postgres:
image: postgres:9.6-alpine image: postgres:9.6-alpine
environment: environment:
@ -27,8 +26,7 @@
labels: labels:
io.rancher.sidekicks: postgres-data io.rancher.sidekicks: postgres-data
io.rancher.scheduler.global: true io.rancher.scheduler.global: true
io.rancher.scheduler.affinity:host_label: type=molgenis
io.rancher.scheduler.affinity:container_label: io.rancher.stack.name=molgenis
elasticsearch: elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.5.1 image: docker.elastic.co/elasticsearch/elasticsearch:5.5.1
environment: environment:
@ -48,8 +46,7 @@
labels: labels:
#io.rancher.sidekicks: elasticsearch-data #io.rancher.sidekicks: elasticsearch-data
io.rancher.scheduler.global: true io.rancher.scheduler.global: true
io.rancher.scheduler.affinity:host_label: type=molgenis
io.rancher.scheduler.affinity:container_label: io.rancher.stack.name=molgenis
# loadbalancer: # loadbalancer:
# image: rancher/lb-service-haproxy:v0.7.5 # image: rancher/lb-service-haproxy:v0.7.5
# ports: # ports:
@ -63,18 +60,16 @@
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:
- /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
io.rancher.scheduler.affinity:host_label: type=molgenis
io.rancher.scheduler.affinity:container_label: io.rancher.stack.name=molgenis
volumes: volumes:
- /opt/molgenis - /opt/molgenis
# elasticsearch-data: # elasticsearch-data:
# image: busybox # image: busybox
# labels: # labels:

View File

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