git://git.halfball.org
/
ansiblebook.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4776543
)
Invoke gunicorn properly
author
Lorin Hochstein
<lhochstein@netflix.com>
Wed, 25 Jan 2017 05:07:44 +0000
(21:07 -0800)
committer
Lorin Hochstein
<lhochstein@netflix.com>
Wed, 25 Jan 2017 05:07:44 +0000
(21:07 -0800)
ch13/ansible/container.yml
patch
|
blob
|
history
diff --git
a/ch13/ansible/container.yml
b/ch13/ansible/container.yml
index
5c44e2a
..
c4ef1d6
100644
(file)
--- 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"