This is a docker tool for running logseq in a container with noVNC support. With this tool, we can build a logseq API server that can access server local filesystem by map volumes to docker container.
Don't forget to cd to the repo dir.
./docker_build.sh- from https://github.com/logseq/logseq/releases download the latest Logseq-linux-x64-****.zip.
- unzip it to ./Logseq-linux-x64 or where ever you want.
before starting the container, you can modify the ./start_logseq_in_docker.sh file.
- modify these vars to set the resolution.
DISPLAY_WIDTH=1920
DISPLAY_HEIGHT=1080- modify this map to fit your logseq downloaded location.
-v $(pwd)/Logseq-linux-x64:/Logseq-linux-x64 \- modify this line to map your note data to the container.
-v /mnt/Data500G/:/note_data \- to change the listening port, modify these lines.
-p 12314:8080 \
-p 12315:12315 \then start the container.
./start_logseq_in_docker.sh- VNC: http://127.0.0.1:12314
- API Server: http://127.0.0.1:12315
- to access the API Server, you need to set it up using VNC in the logseq setting page first.
Based on this great project: docker-novnc !