simple docker page

azivner 2018-06-10 15:02:03 -04:00
parent be17402c34
commit 0b192447a3
2 changed files with 16 additions and 2 deletions

16
Docker.md Normal file

@ -0,0 +1,16 @@
Trilium can be run as docker image. This is useful for server deployments.
Docker images are published on docker hub: https://hub.docker.com/r/zadam/trilium/
## Pull image
~~~~
docker pull zadam/trilium:[VERSION]
~~~~
Replace [VERSION] for actual latest version. It's not recommended to use "latest" tag.
## Run image
~~~~
sudo docker run -t -i -p 8080:8080 -v ~/trilium-data:/root/trilium-data zadam/trilium:latest
~~~~

@ -53,7 +53,5 @@ These are hooked in Electron to be similar to native browser keyboard shortcuts.
* ```CTRL+U``` - show note source (read only)
* ```ALT+O``` - show SQL console (use only if you know what you're doing)
* ```ALT+M``` - distraction-free mode - display only note editor, everything else is hidden
* ```ALT+H``` - show note history
* ```CTRL+S``` - toggle search form in tree pane
* ```ALT+R``` - show recent changes dialog
* ```ALT+L``` - show note labels dialog