Odoo - Custom configuration and mounted addons
Fix the path to filestore as well
This commit is contained in:
parent
a8e245a749
commit
6e5b873bf4
|
|
@ -43,6 +43,21 @@ The default configuration file for the server (located at `/etc/odoo/openerp-ser
|
|||
|
||||
docker run -v /path/to/config:/etc/odoo -p 127.0.0.1:8069:8069 --name odoo --link db:db -t odoo
|
||||
|
||||
Please use [this configuration template](https://github.com/odoo/docker/blob/master/8.0/openerp-server.conf)
|
||||
to write your custom configuration as we already set some arguments for running
|
||||
Odoo inside a Docker container.
|
||||
|
||||
You can also directly specify Odoo arguments inline. Those arguments must be
|
||||
given after the keyword `--` in the command-line, as follows
|
||||
|
||||
docker run -p 127.0.0.1:8069:8069 --name odoo --link db:db -t odoo -- --dbfilter=odoo_db_.*
|
||||
|
||||
## Mount custom addons
|
||||
|
||||
You can mount your own Odoo addons within the Odoo container, at `/mnt/extra-addons`
|
||||
|
||||
docker run -v /path/to/addons:/mnt/extra-addons -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
|
||||
|
|
@ -54,7 +69,9 @@ Please note that for plain use of mails and reports functionalities, when the ho
|
|||
|
||||
Suppose you created a database from an Odoo instance named old-odoo, and you want to access this database from a new Odoo instance named new-odoo, e.g. because you've just downloaded a newer Odoo image.
|
||||
|
||||
By default, Odoo 8.0 uses a filestore (located at /var/lib/odoo/.local/share/Odoo/filestore/) for attachments. You should restore this filestore in your new Odoo instance by running
|
||||
By default, Odoo 8.0 uses a filestore (located at /var/lib/odoo/filestore/)
|
||||
for attachments. You should restore this filestore in your new Odoo instance by
|
||||
running
|
||||
|
||||
docker run --volumes-from old-odoo -p 127.0.0.1:8070:8069 --name new-odoo --link db:db -t odoo
|
||||
|
||||
|
|
|
|||
|
|
@ -37,6 +37,21 @@ The default configuration file for the server (located at `/etc/odoo/openerp-ser
|
|||
|
||||
docker run -v /path/to/config:/etc/odoo -p 127.0.0.1:8069:8069 --name odoo --link db:db -t odoo
|
||||
|
||||
Please use [this configuration template](https://github.com/odoo/docker/blob/master/8.0/openerp-server.conf)
|
||||
to write your custom configuration as we already set some arguments for running
|
||||
Odoo inside a Docker container.
|
||||
|
||||
You can also directly specify Odoo arguments inline. Those arguments must be
|
||||
given after the keyword `--` in the command-line, as follows
|
||||
|
||||
docker run -p 127.0.0.1:8069:8069 --name odoo --link db:db -t odoo -- --dbfilter=odoo_db_.*
|
||||
|
||||
## Mount custom addons
|
||||
|
||||
You can mount your own Odoo addons within the Odoo container, at `/mnt/extra-addons`
|
||||
|
||||
docker run -v /path/to/addons:/mnt/extra-addons -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
|
||||
|
|
@ -48,7 +63,9 @@ Please note that for plain use of mails and reports functionalities, when the ho
|
|||
|
||||
Suppose you created a database from an Odoo instance named old-odoo, and you want to access this database from a new Odoo instance named new-odoo, e.g. because you've just downloaded a newer Odoo image.
|
||||
|
||||
By default, Odoo 8.0 uses a filestore (located at /var/lib/odoo/.local/share/Odoo/filestore/) for attachments. You should restore this filestore in your new Odoo instance by running
|
||||
By default, Odoo 8.0 uses a filestore (located at /var/lib/odoo/filestore/)
|
||||
for attachments. You should restore this filestore in your new Odoo instance by
|
||||
running
|
||||
|
||||
docker run --volumes-from old-odoo -p 127.0.0.1:8070:8069 --name new-odoo --link db:db -t odoo
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue