Docker Influxdb image for Cabsolutely
636
Docker Influxdb image for Cabsolutely
sudo docker build -t cabsolutely/influxdb .
This builds the image, copies package.json and runs npm install the copies the whole app and runs it via npm start
sudo docker run -d -e INFLUXDB_DATABASE=db -e INFLUXDB_USERNAME=alma -e INFLUXDB_PASSWORD=korte cabsolutely/influxdb
This starts your service inside the docker container and creates your initial user and datatbase.
docker pull cabsolutely/influxdb:latest