From: Lorin Hochstein Date: Wed, 25 Jan 2017 05:07:44 +0000 (-0800) Subject: Invoke gunicorn properly X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=99f460d7b9d525710269d73c50b3a54fbafe46fa;p=ansiblebook.git Invoke gunicorn properly --- diff --git a/ch13/ansible/container.yml b/ch13/ansible/container.yml index 5c44e2a..c4ef1d6 100644 --- a/ch13/ansible/container.yml +++ b/ch13/ansible/container.yml @@ -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"