summaryrefslogtreecommitdiffstats
path: root/Services/memcache/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'Services/memcache/docker-compose.yml')
-rw-r--r--Services/memcache/docker-compose.yml15
1 files changed, 15 insertions, 0 deletions
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