Got rid of host_label to simplify
This commit is contained in:
parent
50f38ee022
commit
809a0b59a2
@ -3,7 +3,6 @@ services:
|
|||||||
meanshop-nginx:
|
meanshop-nginx:
|
||||||
image: ohmydocker/meanshop:nginx
|
image: ohmydocker/meanshop:nginx
|
||||||
labels:
|
labels:
|
||||||
io.rancher.scheduler.affinity:host_label: ${host_label}
|
|
||||||
io.rancher.container.hostname_override: container_name
|
io.rancher.container.hostname_override: container_name
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
ports:
|
ports:
|
||||||
@ -27,7 +26,6 @@ services:
|
|||||||
tty: true
|
tty: true
|
||||||
image: mongo:3.2
|
image: mongo:3.2
|
||||||
labels:
|
labels:
|
||||||
io.rancher.scheduler.affinity:host_label: ${host_label}
|
|
||||||
io.rancher.container.hostname_override: container_name
|
io.rancher.container.hostname_override: container_name
|
||||||
io.rancher.sidekicks: meango-datavolume
|
io.rancher.sidekicks: meango-datavolume
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
@ -35,7 +33,6 @@ services:
|
|||||||
- meango-datavolume
|
- meango-datavolume
|
||||||
meango-datavolume:
|
meango-datavolume:
|
||||||
labels:
|
labels:
|
||||||
io.rancher.scheduler.affinity:host_label: ${host_label}
|
|
||||||
io.rancher.container.hostname_override: container_name
|
io.rancher.container.hostname_override: container_name
|
||||||
io.rancher.container.start_once: true
|
io.rancher.container.start_once: true
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -23,14 +23,6 @@
|
|||||||
required: true
|
required: true
|
||||||
default: "3547"
|
default: "3547"
|
||||||
type: "int"
|
type: "int"
|
||||||
- variable: host_label
|
|
||||||
label: "Host Label to Meanshop Tags"
|
|
||||||
description: |
|
|
||||||
Host label to use as Meanshop 'value' tag.
|
|
||||||
Example: 'meanshop=true'
|
|
||||||
required: false
|
|
||||||
default: "meanshop=true"
|
|
||||||
type: "string"
|
|
||||||
|
|
||||||
meanshop-nginx:
|
meanshop-nginx:
|
||||||
scale: 1
|
scale: 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user