port overrides, fix args to gunicorn
authorLorin Hochstein <lhochstein@netflix.com>
Fri, 27 Jan 2017 06:00:51 +0000 (22:00 -0800)
committerLorin Hochstein <lhochstein@netflix.com>
Fri, 27 Jan 2017 06:00:51 +0000 (22:00 -0800)
ch13/ansible/container.yml

index 3811504..16c8d68 100644 (file)
@@ -19,10 +19,12 @@ services:
         - mezzanine
       volumes_from:
         - mezzanine
+      ports:
+        - "8080:80"
   mezzanine:
     image: ubuntu:xenial
     entrypoint: [/srv/bin/entrypoint.sh]
-    command: [/usr/local/bin/gunicorn, '0.0.0.0:8000', 'mezzanine_example.wsgi:application']
+    command: [/usr/local/bin/gunicorn, '-b', '0.0.0.0:8000', 'mezzanine_example.wsgi:application']
     working_dir: /srv/project
     expose:
       - "8000"