chore(initial): initial commit
This commit is contained in:
18
templates/molgenis/1/README.md
Normal file
18
templates/molgenis/1/README.md
Normal file
@ -0,0 +1,18 @@
|
||||
# MOLGENIS
|
||||
**Flexible software for scientific data**
|
||||
|
||||
|
||||
This template creates a MOLGENIS stack on top of Rancher. It creates 3 docker services:
|
||||
|
||||
- MOLGENIS
|
||||
- Elasticsearch is packaged with MOLGENIS
|
||||
- Postgress
|
||||
|
||||
**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.
|
45
templates/molgenis/1/docker-compose.yml
Normal file
45
templates/molgenis/1/docker-compose.yml
Normal file
@ -0,0 +1,45 @@
|
||||
app:
|
||||
image: sidohaakma/molgenis-docker:4.1.0
|
||||
ports:
|
||||
- 8081:8080
|
||||
links:
|
||||
- db
|
||||
volumes_from:
|
||||
- molgenis-data
|
||||
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:
|
||||
- POSTGRES_USER=molgenis
|
||||
- POSTGRES_PASSWORD=molgenis
|
||||
- POSTGRES_DB=molgenis
|
||||
expose:
|
||||
- 5432
|
||||
volumes_from:
|
||||
- postgres-data
|
||||
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
|
5
templates/molgenis/1/rancher-compose.yml
Normal file
5
templates/molgenis/1/rancher-compose.yml
Normal file
@ -0,0 +1,5 @@
|
||||
.catalog:
|
||||
name: molgenis
|
||||
version: v4.1.0
|
||||
description: Molgenis
|
||||
minimum_rancher_version: v1.6.3
|
Reference in New Issue
Block a user