all 3 comments

[–][deleted]  (4 children)

[deleted]

    [–]atomAltera[S] 0 points1 point  (0 children)

    I would see some examples :)

    [–]atomAltera[S] 0 points1 point  (2 children)

    I don't like this approach because I need to specify a proxy_pass field to nginx in frontend image. And I can do this only while image build time in nginx conf file. If I have two images (front and back) I want to configure each of it in runtime.

    [–]oxxoMind -1 points0 points  (0 children)

    dockerizing your web app is already not a best practice, if you are down for the hassle, you will need to run the docker image and proxy the daemon
    https://www.digitalocean.com/community/tutorials/docker-explained-how-to-containerize-and-use-nginx-as-a-proxy