Commit c8e18973 by Ivan

Cloud selector para Odoo12

parent 41758033
......@@ -24,6 +24,7 @@ services:
- /bin/true
labels:
io.rancher.container.start_once: 'true'
io.rancher.scheduler.affinity:host_label: hosttype=${HOSTTYPE}
db:
image: postgres:10
environment:
......@@ -36,6 +37,7 @@ services:
- db-data
labels:
io.rancher.sidekicks: db-data
io.rancher.scheduler.affinity:host_label: hosttype=${HOSTTYPE}
volume-clener:
image: dvalue/odoo-data:latest
......@@ -52,6 +54,7 @@ services:
labels:
io.rancher.container.start_once: 'true'
io.rancher.container.pull_image: 'always'
io.rancher.scheduler.affinity:host_label: hosttype=${HOSTTYPE}
web:
image: odoo:12.0
......@@ -75,6 +78,7 @@ services:
labels:
io.rancher.sidekicks: script
io.rancher.container.pull_image: 'always'
io.rancher.scheduler.affinity:host_label: hosttype=${HOSTTYPE}
script:
image: dvalue/odoo-script:v12
environment:
......@@ -91,6 +95,7 @@ services:
labels:
io.rancher.container.start_once: 'true'
io.rancher.container.pull_image: 'always'
io.rancher.scheduler.affinity:host_label: hosttype=${HOSTTYPE}
sftp:
image: atmoz/sftp:alpine
......@@ -101,3 +106,5 @@ services:
- odoo:${sftp_pass}:101:0:upload
depends_on:
- web
labels:
io.rancher.scheduler.affinity:host_label: hosttype=${HOSTTYPE}
......@@ -14,6 +14,14 @@
label: PYTHON_MODULES
required: false
type: string
- variable: HOSTTYPE
description: donde crear el servicio(DV,gcloud)
label: HOSTTYPE
required: false
type: enum
options:
- DV
- gcloud
odoo:
version: '2'
......
......@@ -24,6 +24,7 @@ services:
- /bin/true
labels:
io.rancher.container.start_once: 'true'
io.rancher.scheduler.affinity:host_label: hosttype=${HOSTTYPE}
db:
image: postgres:10
environment:
......@@ -36,6 +37,7 @@ services:
- db-data
labels:
io.rancher.sidekicks: db-data
io.rancher.scheduler.affinity:host_label: hosttype=${HOSTTYPE}
volume-clener:
image: dvalue/odoo-data:latest
......@@ -52,6 +54,7 @@ services:
labels:
io.rancher.container.start_once: 'true'
io.rancher.container.pull_image: 'always'
io.rancher.scheduler.affinity:host_label: hosttype=${HOSTTYPE}
web:
image: odoo:12.0
......@@ -75,6 +78,7 @@ services:
labels:
io.rancher.sidekicks: script
io.rancher.container.pull_image: 'always'
io.rancher.scheduler.affinity:host_label: hosttype=${HOSTTYPE}
script:
image: dvalue/odoo-script:v12
environment:
......@@ -91,6 +95,7 @@ services:
labels:
io.rancher.container.start_once: 'true'
io.rancher.container.pull_image: 'always'
io.rancher.scheduler.affinity:host_label: hosttype=${HOSTTYPE}
sftp:
image: atmoz/sftp:alpine
......@@ -101,3 +106,5 @@ services:
- odoo:${sftp_pass}:101:0:upload
depends_on:
- web
labels:
io.rancher.scheduler.affinity:host_label: hosttype=${HOSTTYPE}
......@@ -14,6 +14,14 @@
label: PYTHON_MODULES
required: false
type: string
- variable: HOSTTYPE
description: donde crear el servicio(DV,gcloud)
label: HOSTTYPE
required: false
type: enum
options:
- DV
- gcloud
odoo:
version: '2'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment