From a490cfe364a242b1e9993225758ea6e61369e363 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sat, 28 Nov 2015 23:32:45 +0100 Subject: reshapping of memcache container --- Services/memcache/docker-compose.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Services/memcache/docker-compose.yml (limited to 'Services/memcache/docker-compose.yml') diff --git a/Services/memcache/docker-compose.yml b/Services/memcache/docker-compose.yml new file mode 100644 index 0000000..792dc6c --- /dev/null +++ b/Services/memcache/docker-compose.yml @@ -0,0 +1,15 @@ +server: + build: ./ +# image: sv-memcache + container_name: "memcache-server" + mem_limit: 1g + memswap_limit: 1g + cpu_shares: 2 + restart: "on-failure:2" + environment: + CONTAINER_TYPE: "service" + CONTAINER_SERVICE: "memcache" + CONTAINER_INSTANCE: "service-memcache" + volumes: + - "/tmp/container/logs/memcache:/data/logs/memcache" + - "/tmp/container/memcache:/data/memcache" \ No newline at end of file -- cgit v1.2.3