refactor(readme and compose): updated readmes and compose files
This commit is contained in:
parent
b9388c6a4c
commit
c3a4827c83
12
README.md
12
README.md
@ -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
|
||||
```
|
||||
|
@ -1,16 +1,15 @@
|
||||
# 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:
|
||||
|
||||
- MOLGENIS
|
||||
- Elasticsearch is packaged with MOLGENIS
|
||||
- Postgress
|
||||
|
||||
**Usage:**
|
||||
|
||||
|
||||
## Usage
|
||||
- Select MOLGENIS from catalog
|
||||
- The stack-name must not be altered (this is hardcoded in de docker-compose file)
|
||||
- Click *Launch*
|
||||
|
@ -9,8 +9,7 @@ app:
|
||||
labels:
|
||||
io.rancher.sidekicks: molgenis-data
|
||||
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:
|
||||
image: postgres:9.6-alpine
|
||||
environment:
|
||||
@ -24,22 +23,16 @@ app:
|
||||
labels:
|
||||
io.rancher.sidekicks: postgres-data
|
||||
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:
|
||||
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:
|
||||
- /var/lib/postgresql/data/pgdata
|
||||
molgenis-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:
|
||||
- /opt/molgenis
|
@ -1,16 +1,14 @@
|
||||
# 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:
|
||||
|
||||
- MOLGENIS
|
||||
- Postgress
|
||||
- ElasticSearch
|
||||
|
||||
**Usage:**
|
||||
|
||||
|
||||
## Usage
|
||||
- Select MOLGENIS from catalog
|
||||
- The stack-name must not be altered (this is hardcoded in de docker-compose file)
|
||||
- Click *Launch*
|
||||
|
@ -11,8 +11,7 @@
|
||||
io.rancher.sidekicks: molgenis-data
|
||||
io.rancher.scheduler.global: true
|
||||
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:
|
||||
image: postgres:9.6-alpine
|
||||
environment:
|
||||
@ -27,8 +26,7 @@
|
||||
labels:
|
||||
io.rancher.sidekicks: postgres-data
|
||||
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:
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:5.5.1
|
||||
environment:
|
||||
@ -48,8 +46,7 @@
|
||||
labels:
|
||||
#io.rancher.sidekicks: elasticsearch-data
|
||||
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:
|
||||
# image: rancher/lb-service-haproxy:v0.7.5
|
||||
# ports:
|
||||
@ -63,18 +60,16 @@
|
||||
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:
|
||||
- /var/lib/postgresql/data/pgdata
|
||||
|
||||
molgenis-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:
|
||||
- /opt/molgenis
|
||||
|
||||
# elasticsearch-data:
|
||||
# image: busybox
|
||||
# labels:
|
||||
|
@ -1,6 +1,6 @@
|
||||
.catalog:
|
||||
name: molgenis
|
||||
version: v5.0.0
|
||||
version: v5.2.0
|
||||
description: Molgenis
|
||||
minimum_rancher_version: v1.6.3
|
||||
#loadbalancer:
|
||||
|
Loading…
Reference in New Issue
Block a user