mirror of
https://github.com/zadam/trilium.git
synced 2025-01-30 19:08:55 +08:00
Updated Docker server installation (markdown)
parent
33ddaf4779
commit
1e8c5c9da6
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ Replace [VERSION] for actual latest version or use "series" tag - e.g. `0.34-lat
|
|||
## Run image
|
||||
|
||||
~~~~
|
||||
sudo docker run -t -i -p 8080:8080 -v ~/trilium-data:/home/node/trilium-data zadam/trilium:latest
|
||||
sudo docker run -t -i -p 8080:8080 -v ~/trilium-data:/root/trilium-data zadam/trilium:latest
|
||||
~~~~
|
||||
|
||||
Command above is mounting volume to the host system so that trilium's data (most importantly [[document]]) is persisted and not cleared after container stops.
|
Loading…
Reference in a new issue