memcache
authorLorin Hochstein <lhochstein@netflix.com>
Sun, 15 Jan 2017 03:54:30 +0000 (19:54 -0800)
committerLorin Hochstein <lhochstein@netflix.com>
Sun, 15 Jan 2017 03:54:30 +0000 (19:54 -0800)
ch13/ansible/container.yml

index 52dba0d..28e9a02 100644 (file)
@@ -6,6 +6,11 @@ services:
     image: ubuntu:xenial
   memcached:
     image: ubuntu:xenial
+    expose:
+      - "11211"
+    command: [-m, 128]
+    entrypoint: memcached
+    user: daemon
   postgres:
     image: postgres:9.6
   # Add your containers here, specifying the base image you want to build from