Browse Source

Update README.md

Instruct the user to create a persistent volume with the right permissions

See https://github.com/lovasoa/whitebophir/issues/164
dev_h
Ophir LOJKINE 4 years ago
parent
commit
bba3ce30a4
No account linked to committer's email address
1 changed files with 5 additions and 7 deletions
  1. 5
    7
      README.md

+ 5
- 7
README.md View File

30
 If you use the [docker](https://www.docker.com/) containerization service, you can easily run WBO as a container. 
30
 If you use the [docker](https://www.docker.com/) containerization service, you can easily run WBO as a container. 
31
 An official docker image for WBO is hosted on dockerhub as [`lovasoa/wbo`](https://hub.docker.com/repository/docker/lovasoa/wbo).
31
 An official docker image for WBO is hosted on dockerhub as [`lovasoa/wbo`](https://hub.docker.com/repository/docker/lovasoa/wbo).
32
 
32
 
33
-You can run it with the following bash command :
33
+You can run the following bash command to launch WBO on port 5001, while persisting the boards outside of docker:
34
 
34
 
35
+```bash
36
+mkdir wbo-boards # Create a directory that will contain your whiteboards
37
+chown -R 1000:1000 wbo-boards # Make this directory accessible to WBO
38
+docker run -it --publish 5001:8080 --volume "$(pwd)/wbo-boards:/opt/app/server-data" lovasoa/wbo:latest # run wbo
35
 ```
39
 ```
36
-docker run -it --publish 5001:8080 --volume "$(pwd)/wbo-boards:/opt/app/server-data" lovasoa/wbo:latest
37
-```
38
-
39
-This will run WBO :
40
- - on port 5001
41
- - persisting the user data in a folder named `wbo-boards` in the current working directory.
42
 
40
 
43
 You can then access WBO at `http://localhost:5001`.
41
 You can then access WBO at `http://localhost:5001`.
44
 
42
 

Loading…
Cancel
Save