Skip to content

A simple Docker-Compose configuration with Nginx server for Joplin synchronization over WebDAV protocol with enabled TLS and Basic Auth. Git synchronization added.

Notifications You must be signed in to change notification settings

silentz/joplinsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Joplin Sync

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.

How to use

  1. Clone this repository:
git clone https://github.com/silentz/joplinsync.git
  1. Run make to init ssh-keys, nginx certificates and webdav credentials:
make
  1. 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
  1. Run service:
docker-compose up
  1. Connect your Joplin app via WebDAV protocol using your server URL and credentials from ./secrets/webdav_username.txt amd ./secrets/webdav_password.txt

About

A simple Docker-Compose configuration with Nginx server for Joplin synchronization over WebDAV protocol with enabled TLS and Basic Auth. Git synchronization added.

Topics

Resources

Stars

Watchers

Forks