From cf68d35bf6576bbbb9fa24f6cda8dddbd3a9ecb1 Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Thu, 26 Jan 2017 22:00:51 -0800 Subject: [PATCH] port overrides, fix args to gunicorn --- ch13/ansible/container.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ch13/ansible/container.yml b/ch13/ansible/container.yml index 3811504..16c8d68 100644 --- a/ch13/ansible/container.yml +++ b/ch13/ansible/container.yml @@ -19,10 +19,12 @@ services: - mezzanine volumes_from: - mezzanine + ports: + - "8080:80" mezzanine: image: ubuntu:xenial entrypoint: [/srv/bin/entrypoint.sh] - command: [/usr/local/bin/gunicorn, '0.0.0.0:8000', 'mezzanine_example.wsgi:application'] + command: [/usr/local/bin/gunicorn, '-b', '0.0.0.0:8000', 'mezzanine_example.wsgi:application'] working_dir: /srv/project expose: - "8000" -- 2.44.0