From 99f460d7b9d525710269d73c50b3a54fbafe46fa Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Tue, 24 Jan 2017 21:07:44 -0800 Subject: [PATCH] Invoke gunicorn properly --- ch13/ansible/container.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- 2.44.0