Question

How do I change port 8069 to 80 in install Odoo with Docker?

Posted April 5, 2020 189 views
Ubuntu 18.04

How do I change port 8069 to 80 in install Odoo with Docker?

Thanks!!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

Hi there @KEIKo23,

Yes, it should be ok to do so. To do that you can follow the steps as described here:

https://hub.docker.com/_/odoo

When you get to the docker run command you just need to adjust the -p flag. You can change the value from -p 8069:8069 to -p 80:8069.

That way Docker would map the container to port 80 on the host and forward the traffic to the Odoo container correctly.

Hope that this helps!
Regards,
Bobby

Thank you very much for your help Bobby.! Great!

Submit an Answer