Commit f20315f9 by Ivan

version 1.0 con sftp

parent 5fb47674
odoo:
image: odoo
ports:
- "8069:8069"
links:
- db
db:
image: postgres
environment:
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo
.catalog:
name: "Odoo"
version: v0.1-educaas
description: "ERP management powered by Odoo"
uuid: odoo-0
questions:
odoo:
version: '2'
volumes:
odoo-datadir:
driver: rancher-nfs
${odoo-extra-addons}:
driver: rancher-nfs
services:
odoo:
image: odoo:9.0
environment:
PGHOST: db
PGPASSWORD: P4ssw0rD
PGUSER: odoo
stdin_open: true
volumes:
- odoo-datadir:/var/lib/odoo
- odoo-extra-addons:/mnt/extra-addons
tty: true
links:
- db:db
labels:
io.rancher.container.pull_image: always
odoo-LB:
image: rancher/lb-service-haproxy:v0.4.9
ports:
- 80:80/tcp
labels:
io.rancher.container.agent.role: environmentAdmin
io.rancher.container.create_agent: 'true'
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: v0.2-digitalvalue
description: "ERP management powered by Odoo"
uuid: odoo-1
questions:
- variable: access_domain
description: Dominio con que se accede al odoo
label: Dominio
required: true
type: string
odoo:
version: '2'
services:
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
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:9.0
environment:
PGHOST: db
PGPASSWORD: P4ssw0rD
PGUSER: odoo
stdin_open: true
volumes:
- odoo-datadir:/var/lib/odoo
- odoo-extra-addons:/mnt/extra-addons
tty: true
links:
- db:db
labels:
io.rancher.container.pull_image: always
odoo-LB:
image: rancher/lb-service-haproxy:v0.4.9
ports:
- 80:80/tcp
labels:
io.rancher.container.agent.role: environmentAdmin
io.rancher.container.create_agent: 'true'
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: v0.32-digitalvalue-con-sftp
description: "ERP management powered by Odoo, para utilizar sftp - el puerto para sftp: 2222 y el host: ftp.[dominio-elegido] para odoo"
uuid: odoo-2
questions:
- variable: access_domain
description: Dominio con que se accede al odoo
label: Dominio
required: true
type: string
- 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
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
- odoo-extra-addons:/mnt/extra-addons
tty: true
links:
- db:db
labels:
io.rancher.container.pull_image: always
odoo-LB:
image: rancher/lb-service-haproxy:v0.4.9
ports:
- 80:80/tcp
labels:
io.rancher.container.agent.role: environmentAdmin
io.rancher.container.create_agent: 'true'
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-3
questions:
- variable: access_domain
description: Dominio con que se accede al odoo
label: Dominio
required: true
type: string
- 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
...@@ -2,6 +2,10 @@ version: '2' ...@@ -2,6 +2,10 @@ version: '2'
volumes: volumes:
odoo-datadir: odoo-datadir:
driver: rancher-nfs driver: rancher-nfs
odoo-extra-addons:
driver: rancher-nfs
odoo-backup:
driver: rancher-nfs
services: services:
sftp: sftp:
image: atmoz/sftp:alpine image: atmoz/sftp:alpine
...@@ -20,6 +24,8 @@ services: ...@@ -20,6 +24,8 @@ services:
stdin_open: true stdin_open: true
volumes: volumes:
- odoo-datadir:/var/lib/odoo - odoo-datadir:/var/lib/odoo
- odoo-extra-addons:/mnt/extra-addons
- odoo-backup:/mnt/backup
tty: true tty: true
links: links:
- db:db - db:db
......
.catalog: .catalog:
name: "Odoo" name: "Odoo"
version: v10.0-DValue-sftp version: v1.0-sftp
description: "ERP management powered by Odoo 10, para utilizar sftp - el puerto para sftp: 2222 y el host: ftp.[dominio-elegido] para odoo" description: "ERP management powered by Odoo 10, para utilizar sftp - el puerto para sftp: 2222"
uuid: odoo-4 uuid: odoo-0
questions: questions:
- variable: sftp_user - variable: sftp_user
description: Usuario de sftp description: Usuario de sftp
......
name: Odoo name: Odoo 10
description: | description: |
ERP management powered by Odoo 10 ERP management powered by Odoo 10
version: v10.0-DValue-sftp version: v1.0-sftp
category: Digital Value 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