This docker image setup a full openerp environment, with pre-installed PostgreSQL and LibreOffice headless services.
A one-command quick installation script is available (Ubuntu 14.04 only):
curl -sSL http://code.trobz.com/install/latest | /bin/bash
Note: The script is doing a lot for you, it will install docker and docker-compose, then pull the docker image from the hub and configure the container with a
docker-compose.ymlfile in$HOME/docker/odoo-latest/. It will also add the container into upstart config to automatically run it at the next host start up.
This image is based on trobz/sshd + his own dependencies.
setup.py)If the env ODOO_DEMO is set to 1, the container will setup a Odoo instance for you by creating the database and adding a supervisord configuration for Odoo.
Then, you will have a running Odoo instance accessible on http://localhost:<port-map-to-8069>/ out-of-the-box.
PostgreSQL 9.3 is set up to store data, configuration and logs on external volume to keep databases persistent.
To keep your PostgreSQL database persistn, you have to bind a volume like this:
/path/on/host/postgres/data:/etc/postgresql/docker/data
/path/on/host/postgres/config:/etc/postgresql/docker/config
/path/on/host/postgres/log:/etc/postgresql/docker/log
The remote debugging can be auto-configured at start up, to enable it, you have to bind the debugging python source from your IDE to a specific folder:
/path/to/IDE/debugging/source:/usr/local/lib/pydevd
The init script will automatically setup PyCharm and Eclipse debugger and update the default user PYTHONPATH to enable remote debugging.
Several ports are exposed:
8069: openerp service5432: PostgreSQL service22: ssh server (see trobz/sshd image)8011: supervisord http interface (see trobz/supervisord image)Content type
Image
Digest
sha256:d8dc53fa4…
Size
1.5 GB
Last updated
almost 11 years ago
docker pull trobz/odoo