From: Lorin Hochstein Date: Sat, 28 Jan 2017 06:35:37 +0000 (-0800) Subject: add command for nginx X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=ddafd17aa68e483ab28a776c0957666d24ed34d2;p=ansiblebook.git add command for nginx --- diff --git a/ch13/ansible/container.yml b/ch13/ansible/container.yml index 4dbde45..e9a5707 100644 --- a/ch13/ansible/container.yml +++ b/ch13/ansible/container.yml @@ -15,6 +15,10 @@ services: user: daemon nginx: image: nginx:1.11 + command: ["nginx", "-g", "daemon off;"] + expose: + - "80" + - "443" dev_overrides: links: - mezzanine