title: Dockerized Nginx and Django, how to serve static files
body: <p>Im using Docker to containerize my Django environment, which looks like this (simplified a bit):</p>
  
  <ol>
  <li>A Nginx (official image) docker container</li>
  <li>An Ubuntu docker container with uwsgi and Django</li>
  </ol>
  
  <p>The Nginx container are serving the uwsgi just fine, but I have not found a way to serve static files. </p>
  
  <pre><code>upstream proceed {
      server proceed:8000;
  }
  
   server {
      listen 80;
      server_name mydomain.com;
  
      location /static {
          alias /srv/www/proceed/static/; # What to do here? 
      }
  
      location / {
          uwsgi_pass proceed;
          include uwsgi_params;
      }
  }
  </code></pre>
  
  <p><strong>Question:</strong> Whats the best way to serve static files from another container? A solution not involving volumes are preferable. </p>