Commit b2180f8f by Ivan

Odoo10 , borrada la version sin sftp

parent 4710eb64
version: '2'
volumes:
odoo-datadir:
driver: rancher-nfs
# driver: rancher-nfs
driver: local
odoo-extra-addons:
driver: rancher-nfs
driver: local
odoo-pg-data:
driver: local
odoo-tools:
driver: rancher-nfs
driver: local
odoo-conf:
driver: rancher-nfs
driver: local
services:
db-data:
image: postgres:9.4
......@@ -24,7 +25,6 @@ services:
command:
- /bin/true
labels:
io.rancher.container.pull_image: always
io.rancher.container.start_once: 'true'
db:
image: postgres:9.4
......@@ -37,7 +37,6 @@ services:
volumes_from:
- db-data
labels:
io.rancher.container.pull_image: always
io.rancher.sidekicks: db-data
web:
image: odoo:10
......@@ -68,4 +67,11 @@ services:
- /var/run/docker.sock:/var/run/docker.sock
labels:
io.rancher.container.start_once: 'true'
io.rancher.container.pull_image: always
\ No newline at end of file
sftp:
image: atmoz/sftp:alpine
volumes:
- odoo-extra-addons:/home/odoo/upload
command:
- odoo:${sftp_pass}:104::upload
depends_on:
- web
\ No newline at end of file
.catalog:
name: "Odoo"
version: v1.0
description: "Odoo 10"
uuid: odoo-0
version: v1.0-con-sftp
description: "Odoo 10 con sFTP"
uuid: odoo-1
questions:
- variable: sftp_pass
description: Contraseña para el usuario odoo de sftp
label: Conrtaseña
required: true
type: password
odoo:
version: '2'
......@@ -15,7 +21,7 @@ services:
start_on_create: true
web:
scale: 1
start_on_create: true
script:
start_on_create: true
sftp:
scale: 1
start_on_create: true
\ No newline at end of file
version: '2'
volumes:
odoo-datadir:
# driver: rancher-nfs
driver: local
odoo-extra-addons:
driver: local
odoo-pg-data:
driver: local
odoo-tools:
driver: local
odoo-conf:
driver: local
services:
db-data:
image: postgres:9.4
environment:
PGDATA: /var/lib/postgresql/data
POSTGRES_USER: odoo
POSTGRES_PASSWORD: P4ssw0rD
stdin_open: true
volumes:
- odoo-pg-data:/var/lib/postgresql/data
tty: true
command:
- /bin/true
labels:
io.rancher.container.start_once: 'true'
db:
image: postgres:9.4
environment:
PGDATA: /var/lib/postgresql/data
POSTGRES_USER: odoo
POSTGRES_PASSWORD: P4ssw0rD
stdin_open: true
tty: true
volumes_from:
- db-data
labels:
io.rancher.sidekicks: db-data
web:
image: odoo:10
environment:
PGHOST: db
PGPASSWORD: P4ssw0rD
PGUSER: odoo
stdin_open: true
volumes:
- odoo-datadir:/var/lib/odoo
- odoo-extra-addons:/mnt/extra-addons
- odoo-tools:/usr/lib/python2.7/dist-packages/odoo
- odoo-conf:/etc/odoo
tty: true
links:
- db:db
labels:
io.rancher.sidekicks: script
script:
image: dvalue/odoo-script:v10
stdin_open: true
tty: true
links:
- db:db
volumes_from:
- web
volumes:
- /var/run/docker.sock:/var/run/docker.sock
labels:
io.rancher.container.start_once: 'true'
sftp:
image: atmoz/sftp:alpine
volumes:
- odoo-extra-addons:/home/odoo/upload
command:
- odoo:${sftp_pass}:104::upload
depends_on:
- web
\ No newline at end of file
.catalog:
name: "Odoo"
version: v1.0-con-sftp
description: "Odoo 10 con sFTP"
uuid: odoo-1
questions:
- variable: sftp_pass
description: Contraseña para el usuario odoo de sftp
label: Conrtaseña
required: true
type: password
odoo:
version: '2'
services:
db-data:
scale: 1
start_on_create: true
db:
scale: 1
start_on_create: true
web:
scale: 1
start_on_create: true
sftp:
scale: 1
start_on_create: true
\ No newline at end of file
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