diff --git a/README.md b/README.md index 6903163..3117b47 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,7 @@ The aims is to provide a ready-to-run recipes that you can just copy, paste and - [oasis](apps/cloud/oasis.md) - [Pydio](apps/cloud/pydio.md) - [Seafile](apps/cloud/seafile.md) +- [Nginx-WebDav](apps/cloud/nginx-webdav.md) @@ -273,6 +274,7 @@ The aims is to provide a ready-to-run recipes that you can just copy, paste and # Notes - [Joplin Server](apps/notes/joplin.md) +- [Joplin WebView](apps/notes/joplin-web.md) - [Memos](apps/notes/memos.md) diff --git a/apps/cloud/nginx-webdav.md b/apps/cloud/nginx-webdav.md new file mode 100644 index 0000000..6107908 --- /dev/null +++ b/apps/cloud/nginx-webdav.md @@ -0,0 +1,42 @@ +## docker-nginx-webdav-nononsense + +aims to be a Docker image that enables a no-nonsense WebDAV system on the latest available nginx, stable and mainline. Serves a file server + +
+ +- [Github repo](https://github.com/dgraziotin/docker-nginx-webdav-nononsense/) + +## docker-compose-yml + +```yml +--- +services: + nginxwebdav: + container_name: nginxwebdav + build: + context: . + volumes: + - ./data:/data + - ./config:/config + environment: + - PUID=501 + - PGID=20 + - TZ=Europe/Berlin + - WEBDAV_USERNAME=user + - WEBDAV_PASSWORD=password + - SERVER_NAMES=localhost + - TIMEOUTS_S=1200 # these are seconds + - CLIENT_MAX_BODY_SIZE=120M # must end with M(egabytes) or G(igabytes) + ports: + - 32080:80 +``` + +## Tips & Tricks + +### customise nginx.conf + +Change dav_access user:rw group:rw all:rw to "location" context to custoise client file permissions + +and change dav_ethods to PUT, DELETE, MKCOL, COPY, and MOVE so that clients can erform any action + +alternatively you can create a custom config under /config/custom-cont-init.d/ diff --git a/apps/notes/joplin-web.md b/apps/notes/joplin-web.md new file mode 100644 index 0000000..77ec9dc --- /dev/null +++ b/apps/notes/joplin-web.md @@ -0,0 +1,70 @@ +## Jolin-web + +Joplin-vieweb purpose is to provide an online view of Joplin notes. +It's running on a "Django server", running beside Joplin terminal app. + +## Requirements + +A Joplin server to that stores your notes + +
+ +- [Github repo](https://github.com/joplin-vieweb) +- [Docs](https://github.com/joplin-vieweb/joplin-vieweb/#installation--configuration-instructions) + +## docker-compose.yml + +```yml +--- +version: '3.4' + +x-common-variables: &common-variables + ORIGINS: "'http://localhost', 'http://192.168.1.24' , 'https://my-ddns-domain.com'" + +services: + django-joplin-vieweb: + image: gri38/django-joplin-vieweb:latest + depends_on: + - joplin-terminal-xapi + environment: + <<: *common-variables + restart: unless-stopped + ports: + - xxxx:8000 + volumes: + - joplin:/root/.config/joplin:ro + - joplin-vieweb:/root/.config/joplin-vieweb + networks: + - joplin-net + + joplin-terminal-xapi: + image: gri38/joplin-terminal-xapi:latest + restart: unless-stopped + volumes: + - joplin:/root/.config/joplin + networks: + - joplin-net + +volumes: + joplin: + joplin-vieweb: + +networks: + joplin-net: {} +``` + +## Tips & Tricks + +### +You can access your notebooks: https://your_domain/joplin (⚠ don't forget the /joplin ⚠) + +- first you set up url/admin and then login to url/joplin +mind the /admin and /joplin + +- for webdav sync you can select the nextcloud option + +- To decryt the notes run + +```sh +docker exec -ti joplin-vieweb_joplin-terminal-xapi_1 joplin e2ee decrypt +``` diff --git a/apps/photos/libre-photos.md b/apps/photos/libre-photos.md index c9c2d40..72e23eb 100644 --- a/apps/photos/libre-photos.md +++ b/apps/photos/libre-photos.md @@ -143,7 +143,10 @@ services: container_name: librephotos-redis restart: unless-stopped ``` -## Librephotos backup/restore + +## Tips & tricks + +### Librephotos backup/restore Docker offers volumes so /data and /code/protected_media are safely mounted on host. Simply rsync backup of these dirs