Community mailing list archives

community@mail.odoo.com

Re: docker: must longpolling_port be accessible from outside

by
dar
- 11/04/2015 00:56:51
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: https://en.wikipedia.org/wiki/Push_technology#Long_polling

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: https://anybox.fr/blog/postgresql-large-object-storage-for-odoo) and session, as both are stored in the local filesystem and therefore stateful to a specific container unless solved otherwise...

Saludos Cordiales
David Arnold

David Arnold BA HSG / Analista
315 304 13 68/ dar@devco.co

devCO - empresa de consultoría de sistemas (en fundación)
http://www.devco.co

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 <godsun87@gmail.com>:

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 <moylop260@gmail.com>:

Leonardo,
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" <leorochael@gmail.com> 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.

Regards,

Leo

On 1 November 2015 at 11:42, moy lop <moylop260@gmail.com> wrote:

You could review official documentation:
https://docs.docker.com/reference/run/
Please, search -p option or execute "docker run --help"

El 01/11/2015 07:22 a.m., "robert rottermann" <robert@redcor.ch> 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.

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
Sorel GODONOU-DOSSOU
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

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe