summaryrefslogtreecommitdiffstats
path: root/Services/memcache/docker-compose.yml
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2015-11-28 23:32:45 +0100
committerstartxfr <clarue@startx.fr>2015-11-28 23:32:45 +0100
commita490cfe364a242b1e9993225758ea6e61369e363 (patch)
treef4699d33f476c79a99db91781697c6b552a7b30e /Services/memcache/docker-compose.yml
parent42c264a48c9d7df0b5e55be370436e3ec0bb7667 (diff)
downloadphpmyadmin-a490cfe364a242b1e9993225758ea6e61369e363.tar.gz
phpmyadmin-a490cfe364a242b1e9993225758ea6e61369e363.tar.bz2
phpmyadmin-a490cfe364a242b1e9993225758ea6e61369e363.tar.xz
phpmyadmin-a490cfe364a242b1e9993225758ea6e61369e363.zip
reshapping of memcache container
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