Community mailing list archives

Re: docker: must longpolling_port be accessible from outside

- 11/04/2015 07:49:02

Great to hear! What still pops to my mind to help you get going with docker: You probably might have a look at docker-compose. It works on all platforms now. And if you want to dive into some afterthought of the afterthought, I would suggest having a look on rancher. Best, David

And if you can share something of your tool chain, I'm interested at looking at it.

robert <> schrieb am Mi., 4. Nov. 2015 um 03:17:
Hi David,
On 04.11.2015 07:03, David Arnold wrote:
<blockquote cite="" type="cite">
Hi Robert,

If you just want odoo web page you're fine with exposing only 8069.
If you need longpolling, then also expose 8072. longpolling is AFAIK used by the live chat. But my knowledge is shallow here. See also:

So: docker run ... -p 80:8069 ... to have odoo on standard http port.

I'm curious: you said "multiple". If you refer to an odoo and a db container, you're all set. If you try to attempt to load balance requests to different odoo containers to share the workload, you need to solve two more problems of the stateful odoo application: filestore (solution by ccomb: and session, as both are stored in the local filesystem and therefore stateful to a specific container unless solved otherwise...
We did write something like voodoo, but with focus on the management of projects.
It reflects a set of tools we used for years with an other framework (zope/plone). The docker part is more of an afterthought as we only start to use docker.
We do not yet use multiple containers for one odoo instance. And even if we would I probably would prefer a solution that does not store blobs in the db.

<blockquote cite="" type="cite">

Saludos Cordiales
David Arnold

David Arnold BA HSG / Analista
315 304 13 68/

devCO - empresa de consultoría de sistemas (en fundación)

This e-mail message may contain confidential or legally privileged information and is intended only for the use of the intended recipient(s). Any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is prohibited. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, or contain viruses. Anyone who communicates with us by e-mail is deemed to have accepted these risks. devCO is not responsible for errors or omissions in this message and denies any responsibility for any damage arising from the use of e-mail. Any opinion and other statement contained in this message and any attachment are solely those of the author and do not necessarily represent those of the company.

2015-11-02 14:12 GMT-05:00 Gérald Godonou-Dossou <>:

robert rottermann

8069 is the default port on odoo. but if you use a docker you can specifie your port. 
i think you have to configure it first
2015-11-01 15:03 GMT+01:00 moy lop <>:

You are right!
My bad.

Default port is 8069
But you can review your configuration file of odoo or command executed with "ps aux"

El 01/11/2015 08:47 a.m., "Leonardo Rochael Almeida" <> escribió:
Hi Moy Lop,

What Robert means is to ask which ports Odoo needs to be accessible from outside the docker for proper functioning of Odoo.

It was not a Docker question, so the Docker documentation doesn't help with Robert's question.


On 1 November 2015 at 11:42, moy lop <> wrote:

You could review official documentation:
Please, search -p option or execute "docker run --help"

El 01/11/2015 07:22 a.m., "robert rottermann" <> escribió:
Hi there,

I am setting up multiple docker containers to run odoo inside.

Now I wonder what ports must be accessible from outside.
I *assume* it is only 8069.


Post to:

Ing. conception en Génie Electrique
Intégrateur de solution --- Certifié CCNA
ID skype: godsun87
Tel : (+229) 977-687-39
Nos pensées définissent notre futur

Post to:

Post to:

Post to: