Commit Graph

54 Commits

Author SHA1 Message Date
Veikko Väätäjä
abab63faf2 [REF] Odoo 12-10 updated to 20181108. 2018-11-08 21:15:49 +02:00
Veikko Väätäjä
c742a8d26c [REF] Odoo 12-10 updated to 20181107. 2018-11-07 19:35:12 +02:00
Veikko Väätäjä
282df2973d [REF] Odoo 12-10 updated to 20181106. 2018-11-06 22:14:18 +02:00
Veikko Väätäjä
7864bdac7b [REF] Odoo 12-10 updated to 20181105. 2018-11-06 22:12:26 +02:00
Veikko Väätäjä
5f9c000b45 [REF] Odoo 12-10 updated to 20181104. 2018-11-04 19:32:42 +02:00
Veikko Väätäjä
9a39d94507 [REF] Odoo 12-10 updated to 20181103. 2018-11-04 19:29:51 +02:00
Veikko Väätäjä
8697a9936b [REF] Odoo 12-10 updated to 20181102. 2018-11-02 16:38:59 +02:00
Veikko Väätäjä
6c0644f247 [REF] Odoo 12-10 updated to 20181101. 2018-11-01 19:52:49 +02:00
Veikko Väätäjä
1fdba2af40 [REF] Odoo 12-10 updated to 20181031. 2018-10-31 17:01:53 +02:00
Veikko Väätäjä
f9fc625049 [REF] Odoo 12-10 updated to 20181030. 2018-10-30 22:16:53 +02:00
Veikko Väätäjä
26eba4ef1a [REF] Odoo 12-10 updated to 20181029. 2018-10-30 22:15:14 +02:00
Veikko Väätäjä
45bd668c37 [REF] Odoo 12-10 updated to 20181028. 2018-10-30 22:13:17 +02:00
Veikko Väätäjä
866f0d79ef [REF] Odoo 12-10 updated to 20181027. 2018-10-30 22:10:11 +02:00
Veikko Väätäjä
10d2701c24 [REF] Odoo 12-10 updated to 20181026. 2018-10-26 11:41:32 +03:00
Veikko Väätäjä
af18f05dec [REF] Odoo 12-10 updated to 20181025. 2018-10-25 10:57:19 +03:00
Veikko Väätäjä
3944b71024 [REF] Odoo 12-10 updated to 20181024. 2018-10-24 14:59:02 +03:00
Veikko Väätäjä
66d1192052 [REF] Odoo 12-10 updated to 20181023. 2018-10-23 13:55:59 +03:00
Veikko Väätäjä
8f8103191c [REF] Odoo 12-10 updated to 20181022. 2018-10-22 12:27:42 +03:00
Veikko Väätäjä
8ac476e3bc [REF] Odoo 12-10 updated to 20181021. 2018-10-21 20:25:39 +03:00
Veikko Väätäjä
d293d2791c [REF] Odoo 12-10 updated to 20181020. 2018-10-20 11:55:52 +03:00
Veikko Väätäjä
0da0d626d8 [REF] Odoo 12-10 updated to 20181019. 2018-10-19 09:20:35 +03:00
Veikko Väätäjä
fcb4c70bc9 [REF] Odoo 12-10 updated to 20181018. 2018-10-18 15:37:07 +03:00
Veikko Väätäjä
6498bf457a [REF] Odoo 12-10 updated to 20181017. 2018-10-17 21:45:17 +03:00
Veikko Väätäjä
af016b746e [REF] Odoo 12-10 updated to 20181016. 2018-10-16 16:01:52 +03:00
Veikko Väätäjä
1fd6151d22 [REF] Odoo 12-10 updated to 20181015. 2018-10-15 09:42:56 +03:00
Veikko Väätäjä
c8a96115ab [REF] Odoo 12-10 updated to 20181014. 2018-10-15 09:04:03 +03:00
Veikko Väätäjä
4303b097c5 [REF] Odoo 12-10 updated to 20181013. 2018-10-15 09:00:44 +03:00
Veikko Väätäjä
ae7e0b03ac [REF] Odoo 12-10 updated to 20181012. 2018-10-12 09:39:58 +03:00
Veikko Väätäjä
cab01fc78b [REF] Odoo 12-10 updated to 20181011. 2018-10-11 09:24:50 +03:00
Veikko Väätäjä
a53c41f4dd [REF] Odoo 12-10 updated to 20181010. 2018-10-10 14:57:34 +03:00
Veikko Väätäjä
f7c5fa4b84 [REF] Odoo 12-10 updated to 20181009. 2018-10-09 12:09:35 +03:00
Veikko Väätäjä
43dbd309ef [REF] Odoo 12-10 updated to 20181008. 2018-10-08 09:32:48 +03:00
Veikko Väätäjä
6eec60ce31 [REF] Odoo 12-10 updated to 20181007. 2018-10-07 11:37:02 +03:00
Veikko Väätäjä
162c245d5f [REF] Odoo 12-10 updated to 20181006. 2018-10-06 16:56:55 +03:00
Veikko Väätäjä
beb5c524e9 [REF] Odoo 12-10 update to release 20181005. 2018-10-06 16:16:25 +03:00
Olivier Dony
e34689bf67 [REF] Odoo 9.0-11.0: update to release 20180808 2018-08-08 15:58:23 +02:00
Christophe Monniez
67e5ceb0fa [REF] Odoo 9.0-11.0: update to release 20180710 2018-07-10 10:06:43 +02:00
Christophe Monniez
b3d6d018f7 [REF] Odoo 9.0-11.0: update to release 20180122
11.0: install python3 package xlwt to allow xlsx export

Fixes #161
2018-01-22 11:39:40 +01:00
Christophe Monniez
199c206737 [REF] Odoo 9.0-11.0: update to release 20171030 2017-10-30 16:02:37 +01:00
Olivier Dony
f432264ad1 [REF] Odoo 8.0-10.0: update to release 20170815 2017-08-16 11:01:50 +02:00
Simon Lejeune
f8af1a80b1 [REF] Odoo 8.0-10.0: update to release 20170207
fixes #89
closes #101
2017-02-07 16:37:11 +01:00
Simon Lejeune
c97e82a93a [FIX] Odoo 9-10: reload handling
We were still trying to make the auto reload feature work with the 8.0
way in the dockerfile 9 and 10. This patch install the dependency used
in Odoo 9-10 (watchdog instead of pyinotify) and remove the
"auto-reload" key from the default configuration file, as the new syntax
is "--dev=reload".

The auto-reload is now disabled by default (it didn't work, let's not
bother someone that does not need it). The easiest way to use it is to
pass the arguments to the odoo process as:

docker run -p 8069:8069 --name odoo --link db:db -t odoo:[9.0|10.0] -- --dev=reload

fixes #84
fixes #98
2017-02-07 16:22:34 +01:00
Simon Lejeune
d780e6fe36 [REF] Odoo 8.0-10.0: update to release 20161123 2016-11-23 14:17:55 +01:00
Simon Lejeune
a2559e47d5 [FIX] Odoo 8.0-10.0: handling of odoo subcommand
When using an Odoo subcommand, the name of this subcommand has to be in
first position in the arguments list. Just pass the postgres config at
the end of the command... except for the scaffold one.

Fixes #83
2016-11-23 14:17:55 +01:00
Simon Lejeune
b8e9cd478a [FIX] Odoo 8.0-10.0: override of config file pg credentials
We tried to remove usage of environment variables to set the connection
parameters to the postgres database but we omit the case when they're
set in the config file

related to a3d207f

Fixes #80
2016-11-23 14:17:55 +01:00
Simon Lejeune
ea050e938b [REF] Odoo 8.0-10.0: update to release 20161103 2016-11-03 15:17:05 +01:00
Simon Lejeune
ab612f290f [FIX] Odoo 8.0-10.0: entrypoints: pass the pg parameters with CMD
When nothing is passed as argument to the docker container, the
entrypoint will receive the content of the CMD of the dockerfile. In
this case we have to pass the database configuration arguments, else
Odoo won't run correctly. This is the case when you run the command of
our documentation:

``` docker run -p 8069:8069 --name odoo --link db:db -t odoo ```

However, it should still be possible to run custom command (like `ls /`).
2016-11-03 15:02:17 +01:00
Simon Lejeune
13fba407e1 [REF] Odoo 8.0-10.0: default USER and PASSWORD to odoo
Defaulting USER to postgres does not make sense as odoo prevents
creating a database with the user `postgres` (however, there's a bug
that allows it when set by environment variable, but still it does not
work later because Odoo does not use the environment variable to find
the databases in the `list_dbs` method).

Defaulting PASSWORD to odoo makes sense because it's what we set in
the documentationm and is even mandatory since we chose to pass the pg
connections parameters[1] and we did not set a default value for it.

[1] a3d207f2d4
2016-11-03 14:59:54 +01:00
Simon Lejeune
a3d207f2d4 [REF] Odoo 8.0-10.0: pass pg connection parameters as CLI arguments
Do not assume that Odoo will handle correctly the PG* environment
variables, because it won't.

We also rename the PG* variables in order to avoid confusion since we do
not export them anymore.
2016-11-03 14:58:56 +01:00
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