Commit faf91f21 by Ivan

1 version odoo digitalvalue

parent a9a84894
version: '2'
volumes:
odoo-datadir:
external: true
driver: rancher-nfs
odoo-extra-addons:
external: true
driver: rancher-nfs
services:
odoo:
image: odoo:9.0
environment:
PGHOST: db
PGPASSWORD: P4ssW0rD
PGPASSWORD: P4ssw0rD
PGUSER: odoo
stdin_open: true
volumes:
- odoo-datadir:/var/lib/odoo
- odoo-extra-addons:/mnt/extra-addons
tty: true
links:
- db:db
volumes_from:
- odoo-data
ports:
- 8069:8069/tcp
labels:
io.rancher.container.pull_image: always
io.rancher.sidekicks: odoo-data
io.rancher.container.hostname_override: container_name
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
volumes:
- /datos/db/postgress/odoo_test:/var/lib/postgresql/pgdata
tty: true
command:
- /bin/true
labels:
io.rancher.container.pull_image: always
io.rancher.container.start_once: 'true'
odoo-data:
image: odoo:9.0
environment:
PGHOST: db
PGPASSWORD: P4ssW0rD
PGUSER: odoo
POSTGRES_PASSWORD: P4ssw0rD
stdin_open: true
volumes:
- /datos/odoo/test:/mnt/extra-addon
tty: true
links:
- db:db
command:
- /bin/true
labels:
......@@ -55,7 +47,7 @@ services:
environment:
PGDATA: /var/lib/postgresql/pgdata
POSTGRES_USER: odoo
POSTGRES_PASSWORD: P4ssW0rD
POSTGRES_PASSWORD: P4ssw0rD
stdin_open: true
tty: true
volumes_from:
......@@ -63,4 +55,3 @@ services:
labels:
io.rancher.container.pull_image: always
io.rancher.sidekicks: db-data
io.rancher.container.hostname_override: container_name
.catalog:
name: "Odoo"
version: v0.2-educaas
version: v0.2-digitalvalue
description: "ERP management powered by Odoo"
uuid: odoo-0
questions:
......@@ -9,19 +9,37 @@ odoo:
version: '2'
services:
odoo:
retain_ip: true
scale: 1
start_on_create: true
db-data:
retain_ip: true
odoo-LB:
scale: 1
start_on_create: true
odoo-data:
retain_ip: true
lb_config:
certs: []
config: |-
defaults
timeout connect 6000ms
timeout client 60000ms
timeout server 60000ms
port_rules:
- hostname: odoo.digitalvalue.es
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:
retain_ip: true
scale: 1
start_on_create: true
name: Odoo
description: |
ERP management powered by Odoo
version: v0.1-educaas
category: ERP
version: v0.2-digitalvalue
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