From 4832a8ba6efcf6d084e31c07aa6d58f60116d130 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Mon, 5 Jan 2015 10:24:56 +0100 Subject: [PATCH] [ADD] Run Odoo with a custom configuration --- odoo/README.md | 8 ++++++++ odoo/content.md | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/odoo/README.md b/odoo/README.md index b08c0190b..ba656d526 100644 --- a/odoo/README.md +++ b/odoo/README.md @@ -59,6 +59,14 @@ and update your version of Odoo using `apt-get`. # apt-get update # apt-get install odoo +## Run Odoo with a custom configuration + +The default configuration file for the server (located at `/etc/odoo/openerp-server.conf`) +can be overriden at startup using volumes. Suppose you have a custom configuration +at `/path/to/config/openerp-server.conf`, then + + docker run -v /path/to/config:/etc/odoo -p 127.0.0.1:8069:8069 --name odoo --link db:db -t odoo + ## Run multiple Odoo instances docker run -p 127.0.0.1:8070:8069 --name odoo2 --link db:db -t odoo diff --git a/odoo/content.md b/odoo/content.md index 8df578fd1..db11d78db 100644 --- a/odoo/content.md +++ b/odoo/content.md @@ -49,6 +49,14 @@ and update your version of Odoo using `apt-get`. # apt-get update # apt-get install odoo +## Run Odoo with a custom configuration + +The default configuration file for the server (located at `/etc/odoo/openerp-server.conf`) +can be overriden at startup using volumes. Suppose you have a custom configuration +at `/path/to/config/openerp-server.conf`, then + + docker run -v /path/to/config:/etc/odoo -p 127.0.0.1:8069:8069 --name odoo --link db:db -t odoo + ## Run multiple Odoo instances docker run -p 127.0.0.1:8070:8069 --name odoo2 --link db:db -t odoo