Commit 11be625c by Ivan

version 10.0 con sftp

parent ec5a40cc
version: '2'
volumes:
odoo-datadir:
driver: rancher-nfs
odoo-extra-addons:
driver: rancher-nfs
services:
sftp:
image: atmoz/sftp:alpine
volumes:
- odoo-datadir:/home/${sftp_user}/upload
ports:
- 2222:22
command:
- ${sftp_user}:${sftp_pass}:::upload
odoo:
image: odoo:latest
environment:
PGHOST: db
PGPASSWORD: P4ssw0rD
PGUSER: odoo
stdin_open: true
volumes:
- odoo-datadir:/var/lib/odoo
tty: true
links:
- db:db
labels:
io.rancher.container.pull_image: always
db-data:
image: postgres:9.4
environment:
PGDATA: /var/lib/postgresql/pgdata
POSTGRES_USER: odoo
POSTGRES_PASSWORD: P4ssw0rD
stdin_open: true
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/pgdata
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
.catalog:
name: "Odoo"
version: v10-DValue-sftp
description: "ERP management powered by Odoo 10, para utilizar sftp - el puerto para sftp: 2222 y el host: ftp.[dominio-elegido] para odoo"
uuid: odoo-4
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:
sftp:
scale: 1
start_on_create: true
odoo:
scale: 1
start_on_create: true
odoo-LB:
scale: 1
start_on_create: true
lb_config:
certs: []
config: |-
defaults
timeout connect 12000ms
timeout client 120000ms
timeout server 120000ms
port_rules:
- hostname: ${access_domain}
path: ''
priority: 1
protocol: http
service: odoo
source_port: 80
target_port: 8069
health_check:
healthy_threshold: 2
response_timeout: 2000
port: 42
unhealthy_threshold: 3
interval: 2000
db-data:
scale: 1
start_on_create: true
db:
scale: 1
start_on_create: true
name: Odoo
description: |
ERP management powered by Odoo 10
version: v10-DValue-sftp
version: v10.0-DValue-sftp
category: Digital Value
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