From b3cbb729c1e8b74b2abddc031fd5c24c6bf4bbe7 Mon Sep 17 00:00:00 2001 From: Divyansh Bhardwaj <87605149+Dbhardwaj99@users.noreply.github.com> Date: Tue, 5 Jul 2022 22:30:32 +0530 Subject: [PATCH] Added commands for docker volume creation --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d3b3206..34dfcb5 100644 --- a/README.md +++ b/README.md @@ -19,10 +19,16 @@ Clone the repository and build the docker image by the following command sudo docker build . ``` +Crete a docker volume + +``` +docker volume inspect ranchimall-flo-volume +``` + Run the docker container with exposing all the port and mounting the volume ``` -docker run -d -p 6012:6012 -p 4256:6200 +docker run -it -p 3023:3023 -p 6200:6200 -p 6012:6012 -v ranchimall-flo-volume --env NETWORKK='test' --env FLOAPIURL="0.0.0.0:3023" ``` To Check if FLO-API is running