Compare commits

..

No commits in common. "fe3cfeff25c19811a3fddc9eb20a9ed160385276" and "d2417fc187e362d3d74226d06c02de0630d05528" have entirely different histories.

16 changed files with 35 additions and 23 deletions

View file

@ -4,7 +4,11 @@
SOURCE_DIRECTORY="/mnt/data/nextcloud-aio/backups/borg"
RCLONE_CONFIG="borgbase-nextcloud-aio"
TARGET_DIRECTORY="repo"
TARGET_DIRECTORY="repo" # this is the BorgBase directory name: modify it only if you want to specify a different one (discouraged)
########################################
# DO NOT modify any of the following! #
########################################
if [ "$EUID" -ne 0 ]; then
echo "run as root"
@ -35,11 +39,19 @@ touch "$SOURCE_DIRECTORY/aio-lockfile"
if ! rclone sync -v --exclude aio-lockfile "$SOURCE_DIRECTORY/" "$RCLONE_CONFIG:$TARGET_DIRECTORY"; then
echo "Failed to synchronise the backup repository with the target directory."
if docker ps --format "{{.Names}}" | grep "^nextcloud-aio-nextcloud$"; then
docker exec -en nextcloud-aio-nextcloud bash /notify.sh "Rclone failed." "Failed to synchronise the backup repository with the target directory."
else
echo "Failed to synchronise the backup repository with the target directory."
fi
rm "$SOURCE_DIRECTORY/aio-lockfile"
exit 1
fi
rm "$SOURCE_DIRECTORY/aio-lockfile"
echo "Done"
if docker ps --format "{{.Names}}" | grep "^nextcloud-aio-nextcloud$"; then
docker exec -en nextcloud-aio-nextcloud bash /notify.sh "Rclone backup successful!" "Synchronised the backup repository successfully."
else
echo "Synchronised the backup repository successfully."
fi

View file

@ -7,7 +7,7 @@ services:
- ./db:/app/db
- ./data:/app/data
ports:
- "127.0.0.1:8001:8000"
- "8001:8000"
user: 1000:1000
restart: always
init: true

View file

@ -7,7 +7,7 @@ services:
- ./db:/app/db
- ./media:/app/media
ports:
- "127.0.0.1:8002:8000"
- "8002:8000"
restart: always
init: true
tty: true

View file

@ -8,4 +8,4 @@ services:
mem_limit: 3g
cpus: 3
ports:
- "127.0.0.1:9002:8443"
- "9002:8443"

View file

@ -4,4 +4,4 @@ services:
context: sources
restart: always
ports:
- "127.0.0.1:9010:80"
- "9010:80"

View file

@ -8,6 +8,6 @@ services:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "127.0.0.1:23730:22"
- "127.0.0.1:8006:3000"
- "23730:22"
- "8006:3000"
mem_limit: 512m

View file

@ -4,7 +4,7 @@ services:
restart: always
env_file: plex.env
ports:
- "127.0.0.1:9003:32400"
- "9003:32400"
# - "32400:32400/tcp"
# - "3005:3005/tcp"
# - "8324:8324/tcp"
@ -27,7 +27,7 @@ services:
- ./data:/data
mem_limit: 2g
ports:
- "127.0.0.1:9004:9091"
- "9004:9091"
sonarr:
image: lscr.io/linuxserver/sonarr:latest
restart: always
@ -37,7 +37,7 @@ services:
- ./data:/data
mem_limit: 1g
ports:
- "127.0.0.1:9005:8989"
- "9005:8989"
prowlarr:
image: lscr.io/linuxserver/prowlarr:latest
restart: always
@ -46,7 +46,7 @@ services:
- ./prowlarr:/config
mem_limit: 1g
ports:
- "127.0.0.1:9006:9696"
- "9006:9696"
radarr:
image: lscr.io/linuxserver/radarr:latest
restart: always
@ -56,7 +56,7 @@ services:
- ./data:/data
mem_limit: 1g
ports:
- "127.0.0.1:9007:7878"
- "9007:7878"
unpackerr:
image: golift/unpackerr
volumes:

View file

@ -9,7 +9,7 @@ services:
test: ["CMD", "/usr/bin/miniflux", "-healthcheck", "auto"]
mem_limit: 512m
ports:
- "127.0.0.1:8008:3298"
- "8008:3298"
db:
image: postgres:15
restart: always

View file

@ -26,7 +26,7 @@ services:
# security_opt: ["label:disable"] # Is needed when using SELinux
ports:
- "127.0.0.1:9011:8080"
- "9011:8080"
restart: always
container_name: nextcloud-aio-mastercontainer
init: true

View file

@ -6,4 +6,4 @@ services:
- ./portainer_data:/data
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "127.0.0.1:9001:9443"
- "9001:9443"

View file

@ -9,4 +9,4 @@ services:
cpus: 0.5
mem_limit: 150m
ports:
- "127.0.0.1:8010:8080"
- "8010:8080"

View file

@ -7,4 +7,4 @@ services:
- ./shortener_data:/db
mem_limit: 300m
ports:
- "127.0.0.1:8011:8000"
- "8011:8000"

View file

@ -5,6 +5,6 @@ services:
volumes:
- ./:/app
ports:
- "127.0.0.1:9008:8080"
- "9008:8080"
init: true
tty: true

View file

@ -7,4 +7,4 @@ services:
- ./wallabag_data/data:/var/www/wallabag/data
- ./wallabag_data/images:/var/www/wallabag/web/assets/images
ports:
- "127.0.0.1:8009:80"
- "8009:80"

View file

@ -11,4 +11,4 @@ services:
extra_params: '--o:ssl.enable=false --o:ssl.termination=true'
mem_limit: 2g
ports:
- "127.0.0.1:8007:9980"
- "8007:9980"

View file

@ -12,7 +12,7 @@ services:
tty: true
mem_limit: 512m
ports:
- "127.0.0.1:8012:8000"
- "8012:8000"
db:
image: postgres:15
restart: always