summaryrefslogtreecommitdiffstats
path: root/Services/mongo/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Services/mongo/Dockerfile')
-rw-r--r--Services/mongo/Dockerfile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Services/mongo/Dockerfile b/Services/mongo/Dockerfile
index f240622..98ec5f8 100644
--- a/Services/mongo/Dockerfile
+++ b/Services/mongo/Dockerfile
@@ -4,14 +4,11 @@ MAINTAINER Christophe LARUE <dev@startx.fr>
USER root
RUN dnf -y install mongodb mongodb-server libmongo-client rsyslog-mongodb && \
dnf clean all
-ENV MONGOCONF=/etc/mongodb.conf \
- STARTUPLOG=/data/logs/mongodb/startup.log \
+ENV STARTUPLOG=/data/logs/mongodb/startup.log \
LOG_PATH=/data/logs/mongodb \
DATA_PATH=/data/mongodb
-COPY mongodb.conf $MONGOCONF
COPY *.sh /bin/
RUN chmod 775 /bin/run.sh && \
- chmod ug+r $MONGOCONF && \
mkdir -p $DATA_PATH && \
mkdir -p $LOG_PATH && \
touch $STARTUPLOG