From 1af7a22460dafe12f22f9b564d946f3d583f4cb0 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sun, 6 Dec 2015 03:44:47 +0100 Subject: debuging images and improve startup display --- Services/memcache/README.md | 12 ++++++------ Services/memcache/docker-compose.yml | 2 +- Services/memcache/run.sh | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'Services/memcache') diff --git a/Services/memcache/README.md b/Services/memcache/README.md index 101fd1f..724a662 100644 --- a/Services/memcache/README.md +++ b/Services/memcache/README.md @@ -18,12 +18,12 @@ based on [startx/fedora container](https://hub.docker.com/r/startx/fedora) ## Available flavours -* `:latest` : Fedora core 23 + Memcached -* `:fc23` : Fedora core 23 + Memcached -* `:fc22` : Fedora core 22 + Memcached -* `:fc21` : Fedora core 21 + Memcached -* `:centos7` : CentOS 7 + Memcached -* `:centos6` : Centos 6 + Memcached +* `:latest` : Fedora core 23 + memcached 1.4.17 +* `:fc23` : Fedora core 23 + memcached 1.4.17 +* `:fc22` : Fedora core 22 + memcached +* `:fc21` : Fedora core 21 + memcached +* `:centos7` : CentOS 7 + memcached +* `:centos6` : Centos 6 + memcached ## Running from dockerhub registry diff --git a/Services/memcache/docker-compose.yml b/Services/memcache/docker-compose.yml index b907088..a61086d 100644 --- a/Services/memcache/docker-compose.yml +++ b/Services/memcache/docker-compose.yml @@ -6,7 +6,7 @@ server: cpu_shares: 2 restart: "on-failure:2" ports: - - "11211:11211" + - "9271:11211" environment: CONTAINER_TYPE: "service" CONTAINER_SERVICE: "memcache" diff --git a/Services/memcache/run.sh b/Services/memcache/run.sh index 1d6a60f..77ef648 100644 --- a/Services/memcache/run.sh +++ b/Services/memcache/run.sh @@ -10,12 +10,12 @@ function display_container_memcache_header { if [ -v CONTAINER_TYPE ]; then echo "| Type : $CONTAINER_TYPE" fi - if [ -v CONTAINER_INSTANCE ]; then - echo "| Instance : $CONTAINER_INSTANCE" - fi if [ -v CONTAINER_SERVICE ]; then echo "| Service : $CONTAINER_SERVICE" fi + if [ -v CONTAINER_INSTANCE ]; then + echo "| Instance : $CONTAINER_INSTANCE" + fi if [ -v LOG_PATH ]; then echo "| Log path : $LOG_PATH" fi -- cgit v1.2.3