Running Odoo behind nginx with docker
odoo_1 is bound to 0.0.0.0:8069 odoo_2 is bound to 0.0.0.0:8070
I want to map each of these instances to a subdomain using nginx. I found this article but it seems like he’s talking about containers that are not bound to hosts (sorry I’m new to docker)
To make my need clear, I need a way to generate an nginx config file for every odoo instance running with docker, given the mapping of port -> domain/subdomain.
One Solution collect form web for “Running Odoo behind nginx with docker”
Running Odoo container with Nginx proxy – multi tenant setup, fast and dirty but works well: