Invoke gunicorn properly
authorLorin Hochstein <lhochstein@netflix.com>
Wed, 25 Jan 2017 05:07:44 +0000 (21:07 -0800)
committerLorin Hochstein <lhochstein@netflix.com>
Wed, 25 Jan 2017 05:07:44 +0000 (21:07 -0800)
ch13/ansible/container.yml

index 5c44e2a..c4ef1d6 100644 (file)
@@ -8,7 +8,8 @@ services:
     image: nginx:1.11
   mezzanine:
     image: ubuntu:xenial
-    command: [/srv/bin/gunicorn, '0.0.0.0:8000']
+    command: [/usr/local/bin/gunicorn, '0.0.0.0:8000', 'mezzanine_example.wsgi:application']
     entrypoint: [/srv/bin/entrypoint.sh]
+    working_dir: /srv/project
     expose:
       - "8000"