Add new image for mongodb replica set configuration (#442)
This commit is contained in:
parent
bd99e979e8
commit
3eed8090d3
@ -2,7 +2,7 @@ mongo-cluster:
|
|||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
MONGO_SERVICE_NAME: mongo-cluster
|
MONGO_SERVICE_NAME: mongo-cluster
|
||||||
tty: true
|
CATTLE_SCRIPT_DEBUG: ${debug}
|
||||||
entrypoint: /opt/rancher/bin/entrypoint.sh
|
entrypoint: /opt/rancher/bin/entrypoint.sh
|
||||||
command:
|
command:
|
||||||
- --replSet
|
- --replSet
|
||||||
@ -17,11 +17,10 @@ mongo-cluster:
|
|||||||
mongo-base:
|
mongo-base:
|
||||||
restart: always
|
restart: always
|
||||||
net: none
|
net: none
|
||||||
tty: true
|
|
||||||
labels:
|
labels:
|
||||||
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
|
||||||
image: rancher/mongodb-conf:v0.1.0
|
image: rancher/mongodb-conf:v0.1.1
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
entrypoint: /bin/true
|
entrypoint: /bin/true
|
||||||
mongo-datavolume:
|
mongo-datavolume:
|
||||||
|
@ -11,6 +11,12 @@
|
|||||||
type: "string"
|
type: "string"
|
||||||
required: true
|
required: true
|
||||||
default: "rs0"
|
default: "rs0"
|
||||||
|
- variable: debug
|
||||||
|
description: "Enable Debug log for Mongo containers"
|
||||||
|
label: "Debug"
|
||||||
|
type: "string"
|
||||||
|
required: false
|
||||||
|
default: ""
|
||||||
mongo-cluster:
|
mongo-cluster:
|
||||||
scale: 3
|
scale: 3
|
||||||
retain_ip: true
|
retain_ip: true
|
||||||
|
@ -2,7 +2,7 @@ mongo-cluster:
|
|||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
MONGO_SERVICE_NAME: mongo-cluster
|
MONGO_SERVICE_NAME: mongo-cluster
|
||||||
tty: true
|
CATTLE_SCRIPT_DEBUG: ${debug}
|
||||||
entrypoint: /opt/rancher/bin/entrypoint.sh
|
entrypoint: /opt/rancher/bin/entrypoint.sh
|
||||||
command:
|
command:
|
||||||
- --replSet
|
- --replSet
|
||||||
@ -17,11 +17,10 @@ mongo-cluster:
|
|||||||
mongo-base:
|
mongo-base:
|
||||||
restart: always
|
restart: always
|
||||||
net: none
|
net: none
|
||||||
tty: true
|
|
||||||
labels:
|
labels:
|
||||||
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
|
||||||
image: rancher/mongodb-conf:v0.1.0
|
image: rancher/mongodb-conf:v0.1.1
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
entrypoint: /bin/true
|
entrypoint: /bin/true
|
||||||
mongo-datavolume:
|
mongo-datavolume:
|
||||||
|
@ -11,6 +11,12 @@
|
|||||||
type: "string"
|
type: "string"
|
||||||
required: true
|
required: true
|
||||||
default: "rs0"
|
default: "rs0"
|
||||||
|
- variable: debug
|
||||||
|
description: "Enable Debug log for Mongo containers"
|
||||||
|
label: "Debug"
|
||||||
|
type: "string"
|
||||||
|
required: false
|
||||||
|
default: ""
|
||||||
mongo-cluster:
|
mongo-cluster:
|
||||||
scale: 3
|
scale: 3
|
||||||
retain_ip: true
|
retain_ip: true
|
||||||
|
@ -2,7 +2,7 @@ mongo-cluster:
|
|||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
MONGO_SERVICE_NAME: mongo-cluster
|
MONGO_SERVICE_NAME: mongo-cluster
|
||||||
tty: true
|
CATTLE_SCRIPT_DEBUG: ${debug}
|
||||||
entrypoint: /opt/rancher/bin/entrypoint.sh
|
entrypoint: /opt/rancher/bin/entrypoint.sh
|
||||||
command:
|
command:
|
||||||
- --replSet
|
- --replSet
|
||||||
@ -18,12 +18,11 @@ mongo-cluster:
|
|||||||
mongo-base:
|
mongo-base:
|
||||||
restart: always
|
restart: always
|
||||||
net: none
|
net: none
|
||||||
tty: true
|
|
||||||
labels:
|
labels:
|
||||||
io.rancher.scheduler.affinity:host_label: ${host_label}
|
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
|
||||||
image: rancher/mongodb-conf:v0.1.0
|
image: rancher/mongodb-conf:v0.1.1
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
entrypoint: /bin/true
|
entrypoint: /bin/true
|
||||||
mongo-datavolume:
|
mongo-datavolume:
|
||||||
|
@ -18,6 +18,12 @@
|
|||||||
Example: 'database'
|
Example: 'database'
|
||||||
required: false
|
required: false
|
||||||
type: "string"
|
type: "string"
|
||||||
|
- variable: debug
|
||||||
|
description: "Enable Debug log for Mongo containers"
|
||||||
|
label: "Debug"
|
||||||
|
type: "string"
|
||||||
|
required: false
|
||||||
|
default: ""
|
||||||
mongo-cluster:
|
mongo-cluster:
|
||||||
scale: 3
|
scale: 3
|
||||||
retain_ip: true
|
retain_ip: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user