From: Lorin Hochstein Date: Wed, 25 Jan 2017 04:54:50 +0000 (-0800) Subject: Add gunicorn command X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=477654373ff67b25b7942cac16a89a93ddfaec10;p=ansiblebook.git Add gunicorn command --- diff --git a/ch13/ansible/container.yml b/ch13/ansible/container.yml index 48f4f9a..5c44e2a 100644 --- a/ch13/ansible/container.yml +++ b/ch13/ansible/container.yml @@ -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"