From: Lorin Hochstein Date: Fri, 27 Jan 2017 06:00:51 +0000 (-0800) Subject: port overrides, fix args to gunicorn X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=cf68d35bf6576bbbb9fa24f6cda8dddbd3a9ecb1;p=ansiblebook.git port overrides, fix args to gunicorn --- 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"