A self-hosted Nginx instance with WebDAV module for Joplin notes syncronization. Done over TLS with enabled Basic Auth. Also implemented git sync as a backup mechanism.
If use plan to use it, please make sure your notes are encrypted in Joplin with password at least.
- Clone this repository:
git clone https://github.com/silentz/joplinsync.git
- Run
make
to init ssh-keys, nginx certificates and webdav credentials:
make
- Go into
data/
directory and setup your upstreams (could be multiple):
cd data/
git remote add upstream_01 [email protected]:silentz/mirror_01.git
git remote add upstream_02 [email protected]:silentz/mirror_02.git
...
git remote add upstream_XX [email protected]:silentz/mirror_XX.git
You also need to set upstream for all remotes! Example:
git push --set-upstream origin master
- Run service:
docker-compose up
- Connect your Joplin app via WebDAV protocol using your server URL and
credentials from
./secrets/webdav_username.txt
amd./secrets/webdav_password.txt