Commit e899bc56 by Ivan

new file: templates/odoo/1/docker-compose.yml

	new file:   templates/odoo/1/rancher-compose.yml
parent 98e7e95f
version: '2'
services:
odoo:
image: odoo:9.0
environment:
PGHOST: db
PGPASSWORD: P4ssW0rD
PGUSER: odoo
stdin_open: true
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
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
stdin_open: true
volumes:
- /datos/odoo/test:/mnt/extra-addon
tty: true
links:
- db:db
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
io.rancher.container.hostname_override: container_name
.catalog:
name: "Odoo"
version: v0.2-educaas
description: "ERP management powered by Odoo"
uuid: odoo-0
questions:
odoo:
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