Compare commits

...

4 Commits

Author SHA1 Message Date
83b7515da7 add gitea 2024-11-10 17:58:00 +01:00
9ce3f4acf5 add ssh keys 2024-11-10 11:21:11 +01:00
5204eaf388 Fix webdav 2024-11-10 11:11:14 +01:00
961d8851a8 Add zotero-sync 2024-11-09 20:09:34 +01:00
11 changed files with 95 additions and 30 deletions

2
.gitattributes vendored
View File

@ -5,3 +5,5 @@ 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
id_rsa filter=git-crypt diff=git-crypt

View File

@ -24,3 +24,6 @@ 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.
git.guiotte.fr. IN CNAME dm.guiotte.fr.
git-old.guiotte.fr. IN CNAME dm.guiotte.fr.

Binary file not shown.

View File

@ -46,7 +46,8 @@ services:
environment: *common-environment
volumes:
- ./ddclient:/config
- ddclient-cache:/var/cache/ddclient
- ddclient-cache:/run/ddclient-cache
#- ddclient-cache:/var/cache/ddclient
money:
@ -158,27 +159,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 +185,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:
@ -317,10 +308,47 @@ services:
# - 55443:55443
restart: unless-stopped
gitea:
image: gitea/gitea:latest
#build: gitea
container_name: gitea
restart: unless-stopped
environment:
<<: *common-environment
GITEA__database__DB_TYPE: mysql
GITEA__database__HOST: gitea-db:3306
GITEA__database__NAME: gitea
GITEA__database__USER: gitea
GITEA__database__PASSWD: gitea
GITEA__service__DISABLE_REGISTRATION: true
GITEA__server__DOMAIN: git.guiotte.fr
GITEA__server__SSH_DOMAIN: git.guiotte.fr
GITEA__server__LANDING_PAGE: explore
depends_on:
- gitea-db
volumes:
- gitea-data:/data
gitea-db:
image: linuxserver/mariadb:latest
container_name: gitea-db
restart: unless-stopped
environment:
<<: *common-environment
FILE__MYSQL_ROOT_PASSWORD: /run/secrets/gitea-db-root-pw
FILE__MYSQL_PASSWORD: /run/secrets/gitea-db-pw
MYSQL_DATABASE: gitea
MYSQL_USER: gitea
volumes:
- gitea-db:/config
secrets:
- gitea-db-root-pw
- gitea-db-pw
volumes:
money-data:
zotero-data:
lychee-db:
lychee-config:
lychee-pictures:
@ -334,6 +362,10 @@ volumes:
hedgedoc-config:
hedgedoc-db:
homeassistant-config:
zotero-sync-data:
gitea-data:
gitea-db:
secrets:
@ -353,3 +385,7 @@ secrets:
file: hedgedoc-db-root-pw.secret
hedgedoc-db-pw:
file: hedgedoc-db-pw.secret
gitea-db-root-pw:
file: gitea-db-root-pw.secret
gitea-db-pw:
file: gitea-db-pw.secret

BIN
gitea-db-pw.secret Normal file

Binary file not shown.

BIN
gitea-db-root-pw.secret Normal file

Binary file not shown.

BIN
ssh/id_rsa Normal file

Binary file not shown.

1
ssh/id_rsa.pub Normal file
View File

@ -0,0 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCfkGAQYqBuWSSWvRPZ8lIUNLIKHG7u/gUpDn55cg8QWCKBDmmHd5zqbUNoNcyRZQCcdn9hX05ZuezkYMxEso2p6wz2Qv1Zqt8oZ9z49RcWCIiNNu1DZdyvMdoN9XkBTwSPOEaVurBGHchSiXmB/DI0/wg06L58et5w0MseR5sFKsKOzrQLFW1ZnaC3O9ueQmIiDyWM6zz0XkKWZ4qD7fUop/7sP0+FrhwhjQQziCduNXqBgOa9gHaKYqM0aLL7ZV68QGt/e3X6Wa+ojps6FZqeJL/QCxG1GmgNQzwq/I94/rEz3XzjgcpY0LBMLX0aw/U393q4nL/KFwrNBwvWDJPnmVo3J86x5MXnO0K3mpTxtb8+OyTGNA4t3XNwLy4ZfeYS5zqCUXAmOvMhFEJ75yy5UtYyt+0zQQq4gCDNxbIgqlHHq0sHgwxnW6EDgOxsPIuUiKc+BZIOZUOZqZy59cH+CixtpoW3sv1/RZPRcXWZPRpmXDMp/kY/gUV9z7bBMFs= florent@drmanhattan

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,17 @@
server {
listen 80;
client_max_body_size 0;
location / {
root /data;
dav_methods PUT DELETE MOVE;
dav_ext_methods PROPFIND OPTIONS;
dav_access user:rw group:rw all:r;
auth_basic "Restricted";
auth_basic_user_file /config/nginx/htpasswd;
}
}