From 680aa07be43b672ec5791eddd02ab4540d423ece Mon Sep 17 00:00:00 2001 From: Rajath Ganesh Date: Mon, 3 May 2021 11:23:25 -0400 Subject: [PATCH] Updated README with steps to run influxDB --- scripts/portalDocker/README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/portalDocker/README.md b/scripts/portalDocker/README.md index 1760fb8..a056765 100644 --- a/scripts/portalDocker/README.md +++ b/scripts/portalDocker/README.md @@ -13,8 +13,12 @@ ```shell docker run -d -p 27017-27019:27017-27019 --network evionet --rm --name mongodb mongo mongod --replSet Evio-rs0 ``` + or the below command to start the influx db docker. + ```shell + docker run --rm -d --network evionet --name influxdb -p 8086:8086 influxdb:1.7 + ``` -- Run the below command from the host shell: +- Run the below command from the host shell (skip this step for influxDB): ```shell mongo Evio --eval "rs.initiate()" @@ -28,10 +32,12 @@ - Copy the configuration file from [.env](https://github.com/EdgeVPNio/portal/blob/master/.env) into the portal directory. -- Replace the value of the key `DB_URI` with the name of the mongo container +- Replace the value of the key `DB_URI` with the name of the mongo/influx container ```shell DB_URI=mongodb + + DB_URI=influxdb ``` - Run the below command to start the portal container