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
|
*.env filter=git-crypt diff=git-crypt
|
||||||
*.override.yml filter=git-crypt diff=git-crypt
|
*.override.yml filter=git-crypt diff=git-crypt
|
||||||
*.secret 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.
|
sync.guiotte.fr. IN CNAME dm.guiotte.fr.
|
||||||
pad.guiotte.fr. IN CNAME dm.guiotte.fr.
|
pad.guiotte.fr. IN CNAME dm.guiotte.fr.
|
||||||
home.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,26 +158,14 @@ services:
|
|||||||
- lychee-db-pw
|
- lychee-db-pw
|
||||||
|
|
||||||
|
|
||||||
# WIP
|
zotero-sync:
|
||||||
# zotero:
|
image: lscr.io/linuxserver/nginx:latest
|
||||||
# #image: lscr.io/linuxserver/nginx:latest
|
container_name: zotero-sync
|
||||||
# #image: sashgorokhov/webdav
|
environment: *common-environment
|
||||||
# build: zotero
|
volumes:
|
||||||
# container_name: zotero
|
- ./zotero-sync:/config
|
||||||
# environment:
|
- zotero-sync-data:/data
|
||||||
# - PUID=1000
|
restart: unless-stopped
|
||||||
# - 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?
|
|
||||||
|
|
||||||
|
|
||||||
taskserver:
|
taskserver:
|
||||||
@ -196,13 +184,15 @@ services:
|
|||||||
- ./taskserver/client_certs:/client_certs
|
- ./taskserver/client_certs:/client_certs
|
||||||
|
|
||||||
|
|
||||||
slides-notes:
|
# Not in use anymore
|
||||||
build: slides-notes
|
# subdomain still activated though
|
||||||
container_name: slides-notes
|
#slides-notes:
|
||||||
restart: always
|
# build: slides-notes
|
||||||
environment: *common-environment
|
# container_name: slides-notes
|
||||||
volumes:
|
# restart: always
|
||||||
- ./slides-notes/slides:/app/slides
|
# environment: *common-environment
|
||||||
|
# volumes:
|
||||||
|
# - ./slides-notes/slides:/app/slides
|
||||||
|
|
||||||
|
|
||||||
nextcloud:
|
nextcloud:
|
||||||
@ -320,7 +310,7 @@ services:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
money-data:
|
money-data:
|
||||||
zotero-data:
|
zotero-data2:
|
||||||
lychee-db:
|
lychee-db:
|
||||||
lychee-config:
|
lychee-config:
|
||||||
lychee-pictures:
|
lychee-pictures:
|
||||||
@ -334,6 +324,7 @@ volumes:
|
|||||||
hedgedoc-config:
|
hedgedoc-config:
|
||||||
hedgedoc-db:
|
hedgedoc-db:
|
||||||
homeassistant-config:
|
homeassistant-config:
|
||||||
|
zotero-sync-data:
|
||||||
|
|
||||||
|
|
||||||
secrets:
|
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