2016-05-29 13:19:43 +02:00
|
|
|
FROM mongo:latest
|
|
|
|
|
2018-03-16 14:09:15 +01:00
|
|
|
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
|
2016-05-29 13:19:43 +02:00
|
|
|
|
|
|
|
#COPY mongo.conf /usr/local/etc/mongo/mongo.conf
|
|
|
|
|
2016-06-01 13:44:40 +02:00
|
|
|
VOLUME /data/db /data/configdb
|
2016-05-29 13:19:43 +02:00
|
|
|
|
2016-06-01 13:44:40 +02:00
|
|
|
CMD ["mongod"]
|
2016-05-29 13:19:43 +02:00
|
|
|
|
|
|
|
EXPOSE 27017
|
|
|
|
|