Commit 0bcc8e29 by Ivan

version odoo digitalvalue añadido volume para postgress y quitado el sidekick

parent 09f24e90
version: '2'
volumes:
odoo-datadir:
driver: rancher-nfs
odoo-extra-addons:
driver: rancher-nfs
odoo-postgress-volume:
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:
image: postgres:9.4
environment:
PGDATA: /var/lib/postgresql/pgdata
POSTGRES_USER: odoo
POSTGRES_PASSWORD: P4ssw0rD
stdin_open: true
tty: true
volumes:
- odoo-postgress-volume:/var/lib/postgresql/pgdata
labels:
io.rancher.container.pull_image: always
.catalog:
name: "Odoo"
version: v0.3-testing
description: "ERP management powered by Odoo"
uuid: odoo-0
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:
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