Hello,
Trying to start a bunch of services (mongo, mqtt & nodered) in my docker compose, but I am not able to , can anybody point out why? Here is my docker-compose.yml in entirety.
FROM ubuntu
MAINTAINER srinivas.sagar@gmail.com
RUN
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 &&
echo ‘deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen’ |
sudo tee /etc/apt/sources.list.d/mongodb.list &&
apt-get update &&
apt-get install -y mongodb-org
VOLUME ["/data/db"]
WORKDIR /data
EXPOSE 27017
CMD [“mongod”]
RUN apt-get update && apt-get install -y wget &&
wget -q -O - https://repo.mosquitto.org/debian/mosquitto-repo.gpg.key | apt-
key add - && \
wget -q -O /etc/apt/sources.list.d/mosquitto-jessie.list https://repo.mosqui
tto.org/debian/mosquitto-jessie.list && \
apt-get update && apt-get install -y mosquitto && \
adduser --system --disabled-password --disabled-login mosquitto
RUN mkdir -p /mqtt/config /mqtt/data /mqtt/log
COPY config /mqtt/config
RUN chown -R mosquitto:mosquitto /mqtt
VOLUME ["/mqtt/config", “/mqtt/data”, “/mqtt/log”]
EXPOSE 1883 9001
CMD /usr/sbin/mosquitto -c /mqtt/config/mosquitto.conf
RUN npm install -g node-red
VOLUME /root/.node-red
EXPOSE 1880
CMD /usr/local/bin/node-red
~
~