summaryrefslogtreecommitdiffstats
path: root/Services/mongo
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2014-11-20 03:17:46 +0100
committerstartxfr <clarue@startx.fr>2014-11-20 03:17:46 +0100
commita699d0d06feeb1859efea16dd6b3df17901a1bc5 (patch)
tree3a2646acb64a4a9d2440549b2a895648b9289466 /Services/mongo
parent8829f895c890685cc25fe3022299b4275808dc06 (diff)
downloadphpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.tar.gz
phpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.tar.bz2
phpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.tar.xz
phpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.zip
modif des services et ajout de memcache, apache et nodejs
Diffstat (limited to 'Services/mongo')
-rw-r--r--Services/mongo/Dockerfile23
1 files changed, 21 insertions, 2 deletions
diff --git a/Services/mongo/Dockerfile b/Services/mongo/Dockerfile
index 76d7a2f..5367713 100644
--- a/Services/mongo/Dockerfile
+++ b/Services/mongo/Dockerfile
@@ -1,6 +1,25 @@
+FROM startx/fedora
+MAINTAINER Chistophe LARUE <dev@startx.fr>
+COPY mongo_run.sh /bin/
+RUN yum -y install \
+ mongodb \
+ mongodb-server \
+ libmongo-client \
+ rsyslog-mongodb \
+ mongodb-mms-backup-agent \
+ mongodb-mms-monitoring-agent \
+ && yum clean all \
+ && mkdir -p /var/lib/mongodb \
+ && touch /var/lib/mongodb/.keep \
+ && chown -R mongod:mongod /var/lib/mongodb \
+ && chmod ug+rx /bin/mongo_*
-FROM mongo:latest
-MAINTAINER startx dev@startx.fr
+VOLUME ["/var/lib/mongodb"]
+USER mongod
+EXPOSE 27017
+#CMD ["/usr/bin/mongod", "--config", "/etc/mongodb.conf"]
+CMD ["/bin/mongo_run.sh"]
+ONBUILD CMD ["/bin/mongo_run.sh"] \ No newline at end of file