Compare commits

..

No commits in common. "fda2f34ff3a5d0698b995b7ce20457755b50ff8a" and "c67a60d747326da137ddc167ce40e1fa33ee3023" have entirely different histories.

3 changed files with 0 additions and 26 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
data

View file

@ -1,21 +0,0 @@
# logseq-watch
First: I don't know anything about clojure or too much about node. As long as I
can continue to get builds to work, I'll keep this updated. But if it gets
complicated, I'm out :)
This is a docker container that provides the db-sync for self-hosted logseq
sync. I built it following the instructions at https://4shutosh.com/selfhost-logseq except instead of "VPS Deployement" I did a "Docker Deployment".
# Usage
!!As of 2026-03-13, this has only been tested locally on port 8787, so currently is extremely limited!!.
Eventually this will be put it behind an NGINX reverse proxy with a dedicated name, that I have physically set
up on my server. The docker-compose file could be extended to support that in
docker, but I am probably not going to be testing it that way myself.
Make sure you define a data directory that persists. If you don't, your sync
data will be lost when the container restarts. The example docker-compose file
is using a bind mount, you could use a named mount instead if you prefer. The
docker-compose example has commented out lines that show that.
This is very much a work in progress

View file

@ -4,9 +4,5 @@ services:
image: "codeberg.org/kellya/logseq-sync:latest"
volumes:
- ./data:/logseq-sync/data
# or use a named volume and uncomment the volume section below
# - data:/logseq-sync/data
restart: unless-stopped
network_mode: host
#volumes:
# data: