Public Repository

Last pushed: a year ago
Short Description
Odoo 8.0 for armhf (RPi2)
Full Description

This is a container to run odoo 8.0 on RPi2 .

Before you start, you have to run a postgres container . I use zsoltm/postgresql-armhf but i will create a postgres container more optimized for this.
Run postgres container:

docker run -v /home/ubuntu/flash/postgres_folder:/media/postgres_folder -d -e POSTGRES_USER=openerp_8 -e POSTGRES_PASSWORD=qwerty --name db zsoltm/postgresql-armhf


Run odoo :

docker run -p 8069:8069  -v /home/ubuntu/odoo_addons:/opt/openerp_8/my_addons  --name odoo --link db:db -u openerp_user -d dmisdani/arm-odoo:8.0 /opt/openerp_8/odoo/openerp-server -c /opt/openerp_8/odoo/conf/openerp-server.conf --db_host db

From Browser go to:



Instalaton folder: /opt/openerp_8/odoo
odoo linux user: openerp_user

Additional notes:
You might get some DB errors if you chose zsoltm/postgresql-armhf
Probably you have to correct them with the following queries:
Firs connect to the db:

psql postgres -U openerp_8 -h db

Run the sql scripts:

update pg_database set datallowconn = TRUE where datname = 'template0';
\c template0
update pg_database set datistemplate = FALSE where datname = 'template1';
drop database template1;
create database template1 with template = template0 encoding = 'UTF8';
update pg_database set datistemplate = TRUE where datname = 'template1';
\c template1
update pg_database set datallowconn = FALSE where datname = 'template0';

Docker Pull Command