Commit 5d2f09a0 by Ivan

odoo 8 quitado postgres data container

parent 3e8ce4bb
......@@ -11,7 +11,7 @@ volumes:
odoo-conf:
driver: rancher-nfs
services:
db-data:
db:
image: postgres:9.4
environment:
PGDATA: /var/lib/postgresql/data
......@@ -21,22 +21,8 @@ services:
volumes:
- 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.sidekicks: db-data
io.rancher.container.pull_image: always
web:
image: odoo:8
environment:
......
......@@ -7,9 +7,6 @@
odoo:
version: '2'
services:
db-data:
scale: 1
start_on_create: true
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