Commit 6e912379 by Ivan

odoo11 añadida instalacion de dependencias de python

parent e9f8f452
version: '2'
volumes:
odoo-datadir:
driver: convoy
odoo-extra-addons:
driver: convoy
odoo-pg-data:
driver: convoy
odoo-tools:
driver: convoy
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
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
volume-clener:
image: dvalue/odoo-data:latest
stdin_open: true
tty: true
volumes:
- odoo-datadir:/var/lib/odoo
- odoo-extra-addons:/mnt/extra-addons
- odoo-tools:/usr/lib/python3/dist-packages/odoo
links:
- db:db
depends_on:
- db
labels:
io.rancher.container.start_once: 'true'
io.rancher.container.pull_image: 'always'
web:
image: odoo:11
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/python3/dist-packages/odoo
- odoo-conf:/etc/odoo
tty: true
links:
- volume-clener:volume-clener
- db:db
depends_on:
- db
- volume-clener
labels:
io.rancher.sidekicks: script
script:
image: dvalue/odoo-script:v11
environment:
TYPE: rancher
PYTHON_MODULES: ${PYTHON_MODULES}
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-extra-addons:/home/odoo/upload/extra
- odoo-tools:/home/odoo/upload/tools
command:
- odoo:${sftp_pass}:101:0:upload
depends_on:
- web
.catalog:
name: "Odoo"
version: v1.1-con-sftp-convoy
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
- variable: PYTHON_MODULES
description: Listado de modulos separado por espacio
label: PYTHON_MODULES
required: true
type: text
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
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