Add zotero-sync
This commit is contained in:
parent
f02f6cfe39
commit
961d8851a8
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -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
|
||||
|
@ -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.
@ -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
5
zotero-sync/.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
keys
|
||||
.migrations
|
||||
log
|
||||
nginx
|
||||
php
|
1
zotero-sync/nginx/htpasswd
Normal file
1
zotero-sync/nginx/htpasswd
Normal file
@ -0,0 +1 @@
|
||||
zotero:$apr1$6JZjzNFg$MZi/1Gnb7lrY2BwjNPXDV.
|
15
zotero-sync/nginx/site-confs/default.conf
Normal file
15
zotero-sync/nginx/site-confs/default.conf
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user