From 53a4f5b0891d0ca309ec160ed15c0ff3ed072bff Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Thu, 31 Jan 2019 22:09:27 +0000 Subject: [PATCH] Run update.sh --- odoo/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/odoo/README.md b/odoo/README.md index de134e8ed..64dd47120 100644 --- a/odoo/README.md +++ b/odoo/README.md @@ -145,9 +145,9 @@ services: db: image: postgres:10 environment: + - POSTGRES_DB=postgres - POSTGRES_PASSWORD=odoo - POSTGRES_USER=odoo - - POSTGRES_DB=postgres ``` If the default postgres credentials does not suit you, tweak the environment variables: @@ -168,9 +168,9 @@ services: mydb: image: postgres:10 environment: - - POSTGRES_USER=odoo - - POSTGRES_PASSWORD=myodoo - POSTGRES_DB=postgres + - POSTGRES_PASSWORD=myodoo + - POSTGRES_USER=odoo ``` Here's a last example showing you how to mount custom addons, how to use a custom configuration file and how to use volumes for the Odoo and postgres data dir: @@ -191,6 +191,7 @@ services: db: image: postgres:10 environment: + - POSTGRES_DB=postgres - POSTGRES_PASSWORD=odoo - POSTGRES_USER=odoo - PGDATA=/var/lib/postgresql/data/pgdata