Tag:Docker deployment influxdb

  • Common commands for deploying influxdb and Mongo using docker

    Time:2019-10-16

    Database deployment based on docker sudo docker pull influxdb sudo docker pull mongo sudo docker run -p 27017:27017 -v xxx:/xxx–name xxxx -d mongo:latest sudo docker run -d -p8086:8086 –name xxx influxdb:latest Initialize mongodb database Enter Mongo image configuration user password mongo 127.0.0.1 use admin; db.createUser({user: “xxx”, pwd: “xxx”, roles: [{ role: “root”, db: “admin” }]}); […]