demo: Minor tweak to the demo setup

- Specify the specific version of nginx
- Reduce memory for etcd cluster nodes

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Rolf Neugebauer 2017-04-15 09:34:37 -05:00
parent a05d81eed5
commit 49ab5bc719
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
"kernel+initrd": "etcd", "kernel+initrd": "etcd",
"Disk" : 1024, "Disk" : 1024,
"CPUs" : 1, "CPUs" : 1,
"Memory" : 1024 "Memory" : 512
} }
}, },
"Flavor": { "Flavor": {

View File

@ -27,7 +27,7 @@ services:
net: host net: host
oomScoreAdj: -800 oomScoreAdj: -800
- name: nginx - name: nginx
image: "nginx:alpine" image: "nginx:1.11.12-alpine"
capabilities: capabilities:
- CAP_NET_BIND_SERVICE - CAP_NET_BIND_SERVICE
- CAP_CHOWN - CAP_CHOWN