1
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

@@ -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: