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 *.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
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. 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.
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 environment: *common-environment
volumes: volumes:
- ./ddclient:/config - ./ddclient:/config
- ddclient-cache:/var/cache/ddclient - ddclient-cache:/run/ddclient-cache
#- ddclient-cache:/var/cache/ddclient
money: money:
@ -158,27 +159,15 @@ 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:
build: taskserver build: taskserver
@ -196,13 +185,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:
@ -317,10 +308,47 @@ services:
# - 55443:55443 # - 55443:55443
restart: unless-stopped 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: volumes:
money-data: money-data:
zotero-data:
lychee-db: lychee-db:
lychee-config: lychee-config:
lychee-pictures: lychee-pictures:
@ -334,6 +362,10 @@ volumes:
hedgedoc-config: hedgedoc-config:
hedgedoc-db: hedgedoc-db:
homeassistant-config: homeassistant-config:
zotero-sync-data:
gitea-data:
gitea-db:
secrets: secrets:
@ -353,3 +385,7 @@ secrets:
file: hedgedoc-db-root-pw.secret file: hedgedoc-db-root-pw.secret
hedgedoc-db-pw: hedgedoc-db-pw:
file: hedgedoc-db-pw.secret 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;
}
}