소스 검색

More readme changes

root 7 년 전
부모
커밋
576a501377
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      README.md

+ 5 - 1
README.md

@@ -7,7 +7,11 @@ Use Jacob's [instructions](http://www.trevorsbench.com/meshchat-messaging-for-me
 
 ## Example of docker run 
 
-docker run --rm  -e "LOCAL_NODE=192.168.50.2" -e "MESH_ZONE=MeshChat" -h kf7ztb.local.mesh -p 9050:80 snppla/meshchat-docker
+docker run -d -e "LOCAL_NODE=192.168.50.2" -e "MESH_ZONE=MeshChat" -h kf7ztb.local.mesh -p 9050:80 -v $PWD/meshchat/db:/var/www/html/meshchat/db/ snppla/meshchat-docker
+
+## Volume
+
+Map your volume to /var/www/html/meshchat/db/ to keep a persitent copy of the database
 
 ## Hostname