summaryrefslogtreecommitdiffstats
path: root/Services/mongo
diff options
context:
space:
mode:
Diffstat (limited to 'Services/mongo')
-rw-r--r--Services/mongo/README.md12
-rw-r--r--Services/mongo/docker-compose.yml4
-rw-r--r--Services/mongo/run.sh6
3 files changed, 11 insertions, 11 deletions
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