A production-ready image for Magicecommerce Odoo 8
This image weighs just over 1Gb. Keep in mind that Odoo is a very extensive suite of business applications written in Python. We designed this image with built-in external dependencies and almost nothing useless. It is used from development to production on version 8.0 with various community addons.
This docker builds with a tested version of Odoo (formerly OpenERP) AND related dependencies. We do not intend to follow the git. The packed versions of Odoo have always been tested against our CI chain and are considered as production grade. We update the revision pretty often, though :)
This is important to do in this way (as opposed to a latest nightly build) because we want to ensure reliability and keep control of external dependencies.
You may use your own sources simply by binding your local Odoo folder to /opt/odoo/sources/odoo/
Here are the current revisions from https://github.com/trabacus-softapps/odoo/archive/saas-6.tar.gz for each docker tag
# production grade docker/odoobase:8.0 dd26aac66ffded4161195ec68b55bdd8d9d16e6f (branch saas-6)
Usage: docker run [OPTIONS] xyz/odoo[:TAG] [COMMAND ...]
Run odoo in a docker container.
COMMAND The command to run. (default: help)
help Show this help message
start Run odoo server in the background (accept additional arguments passed to odoo command)
login Run in shell mode as odoo user
Run odoo V8 in the background as
xyz.trabacus on localhost:8069 and use /your/local/etc/ to load odoo.conf
$ docker run --name="xyz.trabacus" -v /your/local/etc:/opt/odoo/etc -p 8069:8069 -d xyz/trabacus:8.0 start
Run the V8 image with an interactive shell and remove the container on logout
$ docker run -ti --rm xyz/trabacus:8.0 login
Run the v8 image and enforce a database
mydb update, then remove the container
$ docker run -ti --rm xyz/trabacus:8.0 start --update=all --workers=0 --max-cron-threads=0 --no-xmlrpc --database=mydb --stop-after-init