updates after black october

This commit is contained in:
Kamil118 committed 2026-10-25 21:34:40 +00:00
1 parent db197fe499
commit d3ca5453b8
8 files changed
+48 -8

No files matched your search

+10 -3
View File
@@ -3,6 +3,8 @@
exec 9> /home/debian/backup.lock
flock -n 9 || exit 1
nextcloud_disabled = 0
set -e
# List all required tools
@@ -21,7 +23,10 @@ mkdir -p postgres_backup
cleanup_services() {
echo "Resuming normal operations..."
# Disable Nextcloud maintenance mode
docker exec -u www-data nextcloud_app php occ maintenance:mode --off || true
if [nextcloud_disabled -eq 1] then
docker exec -u www-data nextcloud_app php occ maintenance:mode --off || true
fi
# Start all services back up (using start instead of stop)
docker start gitea jellyfin synapse-foxgirls || true
@@ -31,7 +36,9 @@ cleanup_services() {
trap cleanup_services EXIT INT TERM
echo "Pausing services..."
docker exec -u www-data nextcloud_app php occ maintenance:mode --on || true
if [nextcloud_disabled -eq 1] then
docker exec -u www-data nextcloud_app php occ maintenance:mode --on || true
fi
docker stop gitea jellyfin synapse-foxgirls || true
@@ -114,7 +121,7 @@ rclone delete "${BACKUP_REMOTE}" --min-age 60d --rmdirs --log-file="$HOME/backup
echo "Backup Complete"
wget -q -O /dev/null "${MONITORURL}" || true
curl -s -o /dev/null "${MONITORURL}" || true
#todo make something to test bakcups
#gpg --batch -d --passphrase "password_here" full_backup_2026-08-19_01-00.tar.xz.gpg | xz -d -T0 | tar xf -
+1 -1
View File
@@ -1,7 +1,7 @@
services:
server:
image: docker.gitea.com/gitea:1.27.0
image: docker.gitea.com/gitea:latest
container_name: gitea
restart: unless-stopped
+2 -2
View File
@@ -1,5 +1,5 @@
FROM nextcloud:34.0.1-apache
FROM nextcloud:35.0.2-apache
RUN apt-get update && \
apt-get install -y --no-install-recommends ffmpeg && \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/*
+17 -1
View File
@@ -1,6 +1,7 @@
services:
nextcloud-app:
#image: nextcloud:35.0.2-apache
build: .
image: local-nextcloud
container_name: nextcloud_app
@@ -39,6 +40,11 @@ services:
timeout: 5s
retries: 3
start_period: 10s
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
nextcloud-redis:
image: redis:alpine # Essential for file locking, uses almost no RAM (~20MB)
@@ -53,10 +59,15 @@ services:
timeout: 5s
retries: 3
start_period: 5s
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
nextcloud-cron:
build: .
image: local-nextcloud
build: .
container_name: nextcloud_cron
restart: unless-stopped
volumes:
@@ -73,6 +84,11 @@ services:
timeout: 15s
retries: 3
start_period: 2m
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
+5
View File
@@ -9,6 +9,11 @@ services:
container_name: picoshare
networks:
- reverse_proxy_default
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
networks:
reverse_proxy_default:
external: true
+4
View File
@@ -0,0 +1,4 @@
FROM louislam/uptime-kuma:2
RUN sudo npm cache clean -f
RUN sudo npm install -g n
RUN sudo n 22.23.4
+4 -1
View File
@@ -1,6 +1,9 @@
services:
kuma:
image: louislam/uptime-kuma:2
#rce mitigation, swap back to louislam/uptime-kuma:2 once it's updated
#image: louislam/uptime-kuma:2
image: local-kuma
build: .
restart: unless-stopped
container_name: uptime-kuma
volumes:
+5
View File
@@ -25,3 +25,8 @@ services:
networks:
- VPN
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"