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/mongo/README.md | 12 ++++++------ Services/mongo/docker-compose.yml | 4 ++-- Services/mongo/run.sh | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'Services/mongo') diff --git a/Services/mongo/README.md b/Services/mongo/README.md index 84bb553..14745b4 100644 --- a/Services/mongo/README.md +++ b/Services/mongo/README.md @@ -18,12 +18,12 @@ based on [startx/fedora container](https://hub.docker.com/r/startx/fedora) ## Available flavours -* `:latest` : Fedora core 23 + Mongo -* `:fc23` : Fedora core 23 + Mongo -* `:fc22` : Fedora core 22 + Mongo -* `:fc21` : Fedora core 21 + Mongo -* `:centos7` : CentOS 7 + Mongo -* `:centos6` : Centos 6 + Mongo +* `:latest` : Fedora core 23 + MongoDB 3.0.7 +* `:fc23` : Fedora core 23 + MongoDB 3.0.7 +* `:fc22` : Fedora core 22 + MongoDB +* `:fc21` : Fedora core 21 + MongoDB +* `:centos7` : CentOS 7 + MongoDB +* `:centos6` : Centos 6 + MongoDB ## Running from dockerhub registry diff --git a/Services/mongo/docker-compose.yml b/Services/mongo/docker-compose.yml index 6a76b66..881d75c 100644 --- a/Services/mongo/docker-compose.yml +++ b/Services/mongo/docker-compose.yml @@ -6,8 +6,8 @@ server: cpu_shares: 10 restart: "on-failure:2" ports: - - "27017:27017" - - "28017:28017" + - "9251:27017" + - "9252:28017" environment: CONTAINER_TYPE: "service" CONTAINER_SERVICE: "mongo" diff --git a/Services/mongo/run.sh b/Services/mongo/run.sh index 60b82c8..598b716 100644 --- a/Services/mongo/run.sh +++ b/Services/mongo/run.sh @@ -21,12 +21,12 @@ function display_container_mongodb_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 DATA_PATH ]; then echo "| Data path : $DATA_PATH" fi -- cgit v1.2.3