Commit 5cf99b96 by Ivan

odoo 8 vuelvo a añadir contenedor de datos con volumen local

parent 555cf4dd
Showing with 19 additions and 5 deletions
......@@ -5,24 +5,38 @@ volumes:
odoo-extra-addons:
driver: rancher-nfs
odoo-pg-data:
driver: rancher-nfs
driver: local
odoo-tools:
driver: rancher-nfs
odoo-conf:
driver: rancher-nfs
services:
db:
image: postgres:9.6.5-alpine
db-data:
image: postgres:9.4
environment:
PGDATA: /var/lib/postgresql/data
POSTGRES_USER: odoo
POSTGRES_PASSWORD: P4ssw0rD
stdin_open: true
volumes:
- odoo-pg-data:/var/lib/postgresql/data
- odoo-pg-data:/var/lib/postgresql
tty: true
command:
- /bin/true
labels:
io.rancher.container.start_once: 'true'
db:
image: postgres:9.4
environment:
PGDATA: /var/lib/postgresql/data
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
web:
image: odoo:8
environment:
......
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