Commit Graph

12 Commits

Author SHA1 Message Date
Sebastián Ramírez
9621c46392 [REF] Odoo 8.0-10.0: do not require linking environment variables
The entry points of the Odoo docker images require the presence of the
following environment variables:
    - DB_PORT_5432_TCP_ADDR
    - DB_PORT_5432_TCP_PORT
    - DB_ENV_POSTGRES_USER
    - DB_ENV_POSTGRES_PASSWORD

We use them to set the PGHOST, PGPORT, PGUSER and PGPASSWORD environment
variable that will then be read by Odoo in order to connect to the
database server.

As the first ones are automatically created by Docker when we use the linking
system, it's not possible to run Odoo without the linking system and,
for example, with Docker compose.

In order to make it work with Docker compose and keep the backward
compatibility with the linking system, we have to provide sane
fallbacks to the assignation of the PGHOST, PGPORT, PGUSER and
PGPASSWORD environment variable.

We do that in this commit by defaulting the assignation of the postgres
host to "db" and the port to "5432" because, if you follow our image
documentation, that's what you get. We also introduce the handling of
two others environment variable in the Odoo entry point: POSTGRES_USER
and POSTGRES_PASSWORD. They will be used as fallbacks for
DB_ENV_POSTGRES_USER and DB_ENV_POSTGRES_PASSWORD.
2016-10-26 13:33:38 +02:00
Simon Lejeune
6da3a1848f [REF] Odoo 8.0-10.0: install needed dependencies for worker mode
ie python-gevent and psycogreen. As psycogreen is not packaged in
debian jessie we have to install it with pip. As python-gevent is in the
recommanded packaged of odoo and we don't install them, we install it
explicitely.
2016-10-25 19:30:16 +02:00
Simon Lejeune
0560419f9a [REF] Odoo 9.0, 10.0: remove node-clean-css dependency
following 123e51f4d5
2016-10-25 15:22:48 +02:00
Simon Lejeune
c4b4a8f242 Odoo: Update 8.0, 9.0 and 10.0 to release 20161025 2016-10-25 13:40:05 +02:00
Olivier Dony
b3d55d2959 Odoo: Update 8.0 and 9.0 to release 20160726 2016-07-26 17:44:39 +02:00
Aaron Bohy
ee881ca4b8 Odoo: Update 8.0 and 9.0 to release 20160609 2016-06-09 15:11:02 +02:00
Aaron Bohy
57e968cee9 Odoo: Update 8.0 and 9.0 to release 20160428 2016-04-28 16:22:46 +02:00
Aaron Bohy
f13ffb4c91 Odoo: Update 8.0 and 9.0 to release 20160324 2016-03-24 16:41:58 +01:00
Aaron Bohy
d5392866c1 Odoo: Update 8.0 and 9.0 to release 20160204 2016-02-04 11:58:36 +01:00
Aaron Bohy
ad90fca59c Odoo: add checksum on odoo.deb download 2015-12-16 08:27:27 +01:00
Aaron Bohy
3c6b6b584b Odoo: Update 8.0 and 9.0 to version 20151215 2015-12-16 08:27:09 +01:00
Aaron Bohy
6e12a64947 [ADD] Odoo 9.0
Closes #32.
2015-10-08 14:56:09 +02:00