Commit 594873a6 by Ivan

Odoo8, borrada la version sin sftp , usuario por defecto de sftp - odoo

parent 99818e60
......@@ -52,8 +52,6 @@ services:
- odoo-tools:/usr/lib/python2.7/dist-packages/odoo
- odoo-conf:/etc/odoo
tty: true
depends_on:
- db
links:
- db:db
labels:
......@@ -62,8 +60,8 @@ services:
image: dvalue/odoo-script:v8
stdin_open: true
tty: true
depends_on:
- web
links:
- db:db
volumes_from:
- web
volumes:
......@@ -71,3 +69,9 @@ services:
labels:
io.rancher.container.start_once: 'true'
io.rancher.container.pull_image: always
sftp:
image: atmoz/sftp:alpine
volumes:
- odoo-extra-addons:/home/odoo/upload
command:
- odoo:${sftp_pass}:104::upload
\ No newline at end of file
.catalog:
name: "Odoo8"
version: v1.0
description: "Odoo 8"
uuid: odoo-0
version: v1.0-con-sftp
description: "Odoo 8 con sFTP"
uuid: odoo-1
questions:
- variable: sftp_pass
description: Contraseña para el usuario 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
script:
sftp:
scale: 1
start_on_create: true
\ No newline at end of file
version: '2'
volumes:
odoo-datadir:
driver: rancher-nfs
odoo-extra-addons:
driver: rancher-nfs
odoo-pg-data:
driver: local
odoo-tools:
driver: rancher-nfs
odoo-conf:
driver: rancher-nfs
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.pull_image: always
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.container.pull_image: always
io.rancher.sidekicks: db-data
web:
image: odoo:8
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:v8
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'
io.rancher.container.pull_image: always
sftp:
image: atmoz/sftp:alpine
volumes:
- odoo-tools:/home/${sftp_user}/upload
command:
- ${sftp_user}:${sftp_pass}:::upload
\ No newline at end of file
.catalog:
name: "Odoo8"
version: v1.0-con-sftp
description: "Odoo 8 con sFTP"
uuid: odoo-1
questions:
- variable: sftp_user
description: Usuario de sftp
label: Usuario
required: true
type: string
- variable: sftp_pass
description: Contraseña para el usuario 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