This repository provides Dockerfile for Odoo (formerly OpenERP) with SSH access.
Odoo: v7 and v8
Ubuntu: 14.04
Built images are uploaded to index.docker.io
- Install Docker: http://docs.docker.io/
- Run Postgresql server, I'm using shaker/postgresql Image (Skip this step if you already have a running postgresql server):
docker run --name postgres -d shaker/postgresql
- Run Odoo (this will auto link the previously created postgresql server, read about docker linking here)
docker run --name odoo --link postgres:db -p 8069:8069 -p 2222:22 -d shaker/odoo
- If you already you have a specific configuration for openerp (for example, a different database connection), then you can mount it into docker, lets say your configuration is located under
/home/user/openerp-conf/
, you can run it by:
docker run --name odoo -v /home/user/openerp-conf:/etc/openerp -p 8069:8069 -d shaker/odoo
- Browse http://<your server ip address>:8069/
- Stop and start again
docker stop odoo
docker start odoo
- ssh
root
password isodoo
- you should change it if you exposed ssh port. - Odoo
v8
is available unershaker/odoo:8
tag.