mongo: have some thin defaults

This commit is contained in:
Vincent Batts 2014-04-07 10:23:17 -04:00
parent b037a3cb96
commit 507d009557

View file

@ -2,4 +2,4 @@ FROM fedora
RUN yum install --setopt=override_install_langs=en --setopt=tsflags=nodocs --setopt=keepcache=0 -y mongodb-server && mkdir -p /data/db && rm -rf /var/cache/yum RUN yum install --setopt=override_install_langs=en --setopt=tsflags=nodocs --setopt=keepcache=0 -y mongodb-server && mkdir -p /data/db && rm -rf /var/cache/yum
EXPOSE 27017 28017 EXPOSE 27017 28017
VOLUME ["/data/db"] VOLUME ["/data/db"]
CMD "mongod" CMD mongod --noprealloc --smallfiles