summaryrefslogtreecommitdiffstats
path: root/Services/memcache
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2015-11-29 00:44:42 +0100
committerstartxfr <clarue@startx.fr>2015-11-29 00:44:42 +0100
commit78d1d5017e8acbc8b4bb7f0f567d10f0e47a75df (patch)
tree13e05e8d8217a48a0d4decf8564defee11cf35ba /Services/memcache
parenta490cfe364a242b1e9993225758ea6e61369e363 (diff)
downloadphpmyadmin-78d1d5017e8acbc8b4bb7f0f567d10f0e47a75df.tar.gz
phpmyadmin-78d1d5017e8acbc8b4bb7f0f567d10f0e47a75df.tar.bz2
phpmyadmin-78d1d5017e8acbc8b4bb7f0f567d10f0e47a75df.tar.xz
phpmyadmin-78d1d5017e8acbc8b4bb7f0f567d10f0e47a75df.zip
rewrite mongo and small updates in others
Diffstat (limited to 'Services/memcache')
-rw-r--r--Services/memcache/docker-compose.yml4
-rw-r--r--Services/memcache/run.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/Services/memcache/docker-compose.yml b/Services/memcache/docker-compose.yml
index 792dc6c..dbf0dc6 100644
--- a/Services/memcache/docker-compose.yml
+++ b/Services/memcache/docker-compose.yml
@@ -2,8 +2,8 @@ server:
build: ./
# image: sv-memcache
container_name: "memcache-server"
- mem_limit: 1g
- memswap_limit: 1g
+ mem_limit: 1.5g
+ memswap_limit: 500m
cpu_shares: 2
restart: "on-failure:2"
environment:
diff --git a/Services/memcache/run.sh b/Services/memcache/run.sh
index bc4279e..405996e 100644
--- a/Services/memcache/run.sh
+++ b/Services/memcache/run.sh
@@ -6,7 +6,7 @@ function display_container_memcache_header {
echo "+====================================================="
echo "| Container : $HOSTNAME"
echo "| OS : $(</etc/redhat-release)"
- echo "| Engine : " memcached -h | head -1
+ echo "| Engine : $(memcached -h | head -1)"
if [ -v CONTAINER_TYPE ]; then
echo "| Type : $CONTAINER_TYPE"
fi