Procházet zdrojové kódy

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 před 4 roky
rodič
revize
bba3ce30a4
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 5 přidání a 7 odebrání
  1. 5
    7
      README.md

+ 5
- 7
README.md Zobrazit soubor

@@ -30,15 +30,13 @@ If you have your own web server, and want to run a private instance of WBO on it
30 30
 If you use the [docker](https://www.docker.com/) containerization service, you can easily run WBO as a container. 
31 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 41
 You can then access WBO at `http://localhost:5001`.
44 42
 

Načítá se…
Zrušit
Uložit