Docerizing Django CMS
Jakub Borys
685

A couple of questions:

  1. Why do we need both containers instantiated from the postgres image? Is the `postgres` one for reuse by other apps perhaps and the `data` one for this particular app’s data? Why wouldn’t just the one app-dedicated postgres container be as economical?
  2. Didn’t understand the choice of ports. Wouldn’t it be more user-friendly to have the site publish on port 80 and gunicorn communicate with nginx over port 8000?
Like what you read? Give Iain Houston a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.