Commit 5d2f09a0 by Ivan

odoo 8 quitado postgres data container

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