mirror of https://github.com/EdgeVPNio/tools.git
Fixed formatting
parent
723ee5b2fa
commit
46022a1579
|
@ -2,19 +2,19 @@
|
||||||
|
|
||||||
- Run the below command to start the mongo DB docker.
|
- Run the below command to start the mongo DB docker.
|
||||||
|
|
||||||
```
|
```shell
|
||||||
docker run -d -p 27017-27019:27017-27019 --network evionet --rm --name mongodb mongo mongod --replSet Evio-rs0
|
docker run -d -p 27017-27019:27017-27019 --network evionet --rm --name mongodb mongo mongod --replSet Evio-rs0
|
||||||
```
|
```
|
||||||
|
|
||||||
- Run the below command from the host shell:
|
- Run the below command from the host shell:
|
||||||
|
|
||||||
```
|
```shell
|
||||||
mongo Evio --eval "rs.initiate()"
|
mongo Evio --eval "rs.initiate()"
|
||||||
```
|
```
|
||||||
|
|
||||||
- Create a directory on the host to be mounted in the container's filesystem, eg. ~/evio/portal
|
- Create a directory on the host to be mounted in the container's filesystem, eg. ~/evio/portal
|
||||||
|
|
||||||
```
|
```shell
|
||||||
mkdir portal && cd portal
|
mkdir portal && cd portal
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -22,13 +22,13 @@
|
||||||
|
|
||||||
- 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 container
|
||||||
|
|
||||||
```
|
```shell
|
||||||
DB_URI=mongodb
|
DB_URI=mongodb
|
||||||
```
|
```
|
||||||
|
|
||||||
- Run the below command to start the portal container
|
- Run the below command to start the portal container
|
||||||
The port number can be changed at your convenience.
|
The port number can be changed at your convenience.
|
||||||
|
|
||||||
```
|
```shell
|
||||||
docker run -d -p 5000:5000 --name visualizer -v $HOME/evio/portal/.env:/etc/evio/config/.env --rm --privileged --network evionet edgevpnio/evio-portal:0.1
|
docker run -d -p 5000:5000 --name visualizer -v $HOME/evio/portal/.env:/etc/evio/config/.env --rm --privileged --network evionet edgevpnio/evio-portal:0.1
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue