Add gunicorn command
authorLorin Hochstein <lhochstein@netflix.com>
Wed, 25 Jan 2017 04:54:50 +0000 (20:54 -0800)
committerLorin Hochstein <lhochstein@netflix.com>
Wed, 25 Jan 2017 04:54:50 +0000 (20:54 -0800)
ch13/ansible/container.yml

index 48f4f9a..5c44e2a 100644 (file)
@@ -8,6 +8,7 @@ services:
     image: nginx:1.11
   mezzanine:
     image: ubuntu:xenial
-    entrypoint: [/usr/bin/entrypoint.sh]
+    command: [/srv/bin/gunicorn, '0.0.0.0:8000']
+    entrypoint: [/srv/bin/entrypoint.sh]
     expose:
       - "8000"