Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/silentz/joplinsync

A simple Docker-Compose configuration with Nginx server for Joplin synchronization over WebDAV protocol with enabled TLS and Basic Auth. Git synchronization added.
https://github.com/silentz/joplinsync

basicauth git https joplin nginx server ssl sync syncronization tls webdav

Last synced: 23 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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:
```bash
git clone https://github.com/silentz/joplinsync.git
```

2. Run `make` to init ssh-keys, nginx certificates and webdav credentials:
```bash
make
```

3. Go into `data/` directory and setup your upstreams (could be multiple):
```bash
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:
```bash
git push --set-upstream origin master
```

4. Run service:
```bash
docker-compose up
```

5. Connect your Joplin app via WebDAV protocol using your server URL and
credentials from `./secrets/webdav_username.txt` amd `./secrets/webdav_password.txt`