Add zotero-sync

This commit is contained in:
Florent Guiotte 2024-11-09 20:09:34 +01:00
parent f02f6cfe39
commit 961d8851a8
7 changed files with 43 additions and 29 deletions

1
.gitattributes vendored
View File

@ -5,3 +5,4 @@ ddclient/ddclient.conf filter=git-crypt diff=git-crypt
*.env filter=git-crypt diff=git-crypt
*.override.yml filter=git-crypt diff=git-crypt
*.secret filter=git-crypt diff=git-crypt
htaccess filter=git-crypt diff=git-crypt

View File

@ -24,3 +24,4 @@ kdoc.guiotte.fr. IN CNAME dm.guiotte.fr.
sync.guiotte.fr. IN CNAME dm.guiotte.fr.
pad.guiotte.fr. IN CNAME dm.guiotte.fr.
home.guiotte.fr. IN CNAME dm.guiotte.fr.
zotero.guiotte.fr. IN CNAME dm.guiotte.fr.

Binary file not shown.

View File

@ -158,27 +158,15 @@ services:
- lychee-db-pw
# WIP
# zotero:
# #image: lscr.io/linuxserver/nginx:latest
# #image: sashgorokhov/webdav
# build: zotero
# container_name: zotero
# environment:
# - PUID=1000
# - PGID=1000
# - TZ=Europe/Helsinki
# - USERNAME=user
# - PASSWORD=passwd
# volumes:
# - zotero-data:/data
# #- zotero-data:/media
# restart: unless-stopped
# # https://github.com/linuxserver/docker-baseimage-alpine-nginx/blob/master/Dockerfile
# # https://github.com/linuxserver/docker-nginx/blob/master/Dockerfile
# # https://github.com/sashgorokhov/docker-nginx-webdav/blob/master/Dockerfile
# # XXX: Missing "nginx-extra" in my build?
zotero-sync:
image: lscr.io/linuxserver/nginx:latest
container_name: zotero-sync
environment: *common-environment
volumes:
- ./zotero-sync:/config
- zotero-sync-data:/data
restart: unless-stopped
taskserver:
build: taskserver
@ -196,13 +184,15 @@ services:
- ./taskserver/client_certs:/client_certs
slides-notes:
build: slides-notes
container_name: slides-notes
restart: always
environment: *common-environment
volumes:
- ./slides-notes/slides:/app/slides
# Not in use anymore
# subdomain still activated though
#slides-notes:
# build: slides-notes
# container_name: slides-notes
# restart: always
# environment: *common-environment
# volumes:
# - ./slides-notes/slides:/app/slides
nextcloud:
@ -320,7 +310,7 @@ services:
volumes:
money-data:
zotero-data:
zotero-data2:
lychee-db:
lychee-config:
lychee-pictures:
@ -334,6 +324,7 @@ volumes:
hedgedoc-config:
hedgedoc-db:
homeassistant-config:
zotero-sync-data:
secrets:

5
zotero-sync/.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
keys
.migrations
log
nginx
php

View File

@ -0,0 +1 @@
zotero:$apr1$6JZjzNFg$MZi/1Gnb7lrY2BwjNPXDV.

View File

@ -0,0 +1,15 @@
server {
listen 80;
client_max_body_size 0;
location / {
root /data;
dav_methods PUT DELETE MOVE;
dav_access user:rw group:rw all:r;
auth_basic "Restricted";
auth_basic_user_file /config/nginx/htpasswd;
}
}