backup media servers configs (and add sonarr, radarr, etc)

This commit is contained in:
2026-01-10 12:13:55 +01:00
parent e1bddd31e9
commit a96be1a122
9 changed files with 185 additions and 53 deletions

View File

@@ -5,6 +5,7 @@ cp ~/.config/nvim/init.vim ./init.vim
cp ~/.vimrc ./.vimrc cp ~/.vimrc ./.vimrc
cp ~/vimconfigbase.vim ./vimconfigbase.vim cp ~/vimconfigbase.vim ./vimconfigbase.vim
cp ~/.tmux.conf ./.tmux.conf cp ~/.tmux.conf ./.tmux.conf
cp ~/.config/zathura/zathurarc ./zathurarc
mkdir -p sway mkdir -p sway
cp ~/.config/sway/config ./sway/config cp ~/.config/sway/config ./sway/config
@@ -12,3 +13,4 @@ cp ~/.config/sway/status.sh ./sway/status.sh
mkdir -p alacritty mkdir -p alacritty
cp ~/.config/alacritty/alacritty.toml ./alacritty/alacritty.toml cp ~/.config/alacritty/alacritty.toml ./alacritty/alacritty.toml

View File

@@ -84,6 +84,7 @@
gnutar gnutar
xorg.xmodmap # keyboard remapping xorg.xmodmap # keyboard remapping
xfce.xfce4-screenshooter xfce.xfce4-screenshooter
flameshot
pulseaudio pulseaudio
usbutils usbutils
time time

15
restore-backup-configs.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
cp ./init.vim ~/.config/nvim/init.vim
cp ./.vimrc ~/.vimrc
cp ./vimconfigbase.vim ~/vimconfigbase.vim
cp ./.tmux.conf ~/.tmux.conf
cp ./zathurarc ~/.config/zathura/zathurarc
mkdir -p ~/.config/sway
cp ./sway/config ~/.config/sway/config
cp ./sway/status.sh ~/.config/sway/status.sh
mkdir -p alacritty
cp ./alacritty/alacritty.toml ~/.config/alacritty/alacritty.toml

View File

@@ -1,11 +1,16 @@
#!/usr/bin/env bash #!/usr/bin/env bash
SERVER=$1 SERVER=$1
PASSW=$2
NEW_PASSW="YOURPASSWORDHERE"
if [ -z $SERVER ] ; then if [ "$#" -ne 2 ]; then
echo "missing 1st argument (SERVER)" echo "Usage: $0 SERVER_NAME PASSW"
exit 1 exit 1
fi fi
rsync -avz --progress --exclude={'*.log','emby','jellyfin','qbittorrent','slskd','wallabag','prowlarr','sonarr','radarr','bazarr'} $SERVER:~/server-dockers/docker-compose.yml $SERVER:/mnt/usb/configurations ./
rsync -avz --progress --exclude={'*.log','emby','jellyfin','qbittorrent','slskd','wallabag'} $SERVER:~/server-dockers/docker-compose.yml $SERVER:/mnt/usb/configurations ./ # replace PASSW by NEW_PASSW (also in subdirs)
find . -type f -exec \
sed -i "s/${PASSW//\//\\/}/${NEW_PASSW//\//\\/}/g" {} +

View File

@@ -2,48 +2,80 @@
# For configuration options and examples, please see: # For configuration options and examples, please see:
# https://gethomepage.dev/configs/services/ # https://gethomepage.dev/configs/services/
- Media: - LeftCol:
- Jellyfin: - Media:
icon: jellyfin.png - Jellyfin:
href: http://192.168.1.155:8096 icon: jellyfin.png
description: Jellyfin Media Server href: http://192.168.1.155:8096
- Emby: description: Jellyfin Media Server
icon: emby.png - Emby:
href: http://192.168.1.155:8097 icon: emby.png
description: Emby Media Server href: http://192.168.1.155:8097
- qBittorrent: description: Emby Media Server
icon: qbittorrent.png - Descarregues a ma:
href: http://192.168.1.155:8080 - qBittorrent:
description: qBittorrent Web UI icon: qbittorrent.png
widget: href: http://192.168.1.155:8080
type: qbittorrent description: qBittorrent Web UI
url: http://192.168.1.155:8080 widget:
username: admin type: qbittorrent
password: YOUR_PASSWORD_HERE url: http://192.168.1.155:8080
enableLeechProgress: true # optional, defaults to false username: admin
- metube: password: YOURPASSWORDHERE
icon: metube.png enableLeechProgress: true # optional, defaults to false
href: http://192.168.1.155:8100 - slskd:
description: download youtube music & videos icon: slskd.png
href: http://192.168.1.155:8099
description: SoulSeek client to download music
- metube:
icon: metube.png
href: http://192.168.1.155:8100
description: download youtube music & videos
- Altres: - CentralCol:
- raspberry grafana: - DescARRegues:
icon: grafana.png - sonarr:
href: http://192.168.1.155:3000/d/rYdddlPWk/node-exporter-full icon: sonarr.png
description: raspberry grafana dashboard href: http://192.168.1.155:8101
- Galdric grafana: description: Automating download of shows
icon: grafana.png widget:
href: http://192.168.1.156:3000/d/rYdddlPWk/node-exporter-full type: sonarr
description: Galdric grafana dashboard url: http://192.168.1.155:8101
- Wallabag: key: API_KEY_HERE
icon: wallabag.png enableQueue: true
href: http://192.168.1.155:8098 - radarr:
description: Wallabag Read It Later icon: radarr.png
- HomeAssistant: href: http://192.168.1.155:8104
icon: home-assistant.png description: Automating download of movies
href: http://192.168.1.148:8123 widget:
description: Open Home Assistant page. type: radarr
# - Vosk: url: http://192.168.1.155:8104
# icon: vosk.png key: API_KEY_HERE
# href: http://192.168.1.155:8101 enableQueue: true
# description: voice to text - bazarr:
icon: bazarr.png
href: http://192.168.1.155:8103
description: Manage & download subtitles
- prowlarr:
icon: prowlarr.png
href: http://192.168.1.155:8102
description: API Support for torrent trackers
- RightCol:
- Altres:
- beelink grafana:
icon: grafana.png
href: http://192.168.1.155:3000/d/rYdddlPWk/node-exporter-full
description: beelink grafana dashboard
- Galdric grafana:
icon: grafana.png
href: http://192.168.1.156:3000/d/rYdddlPWk/node-exporter-full
description: Galdric grafana dashboard
- Wallabag:
icon: wallabag.png
href: http://192.168.1.155:8098
description: Wallabag Read It Later
- HomeAssistant:
icon: home-assistant.png
href: http://192.168.1.148:8123
description: Open Home Assistant page.

View File

@@ -12,6 +12,13 @@ background:
opacity: 100 # 0-100 opacity: 100 # 0-100
providers: providers:
openweathermap: openweathermapapikey openweathermap: OPENWEATHERMAPAPIKEY
weatherapi: weatherapiapikey weatherapi: WEATHERAPIAPIKEY
layout:
LeftCol:
header: false
CentralCol:
header: false
RightCol:
header: false

View File

@@ -30,6 +30,10 @@
# - wallabag: 8098 # - wallabag: 8098
# - slskd: 8099 # - slskd: 8099
# - metube: 8100 # - metube: 8100
# - sonarr: 8101
# - prowlarr: 8102
# - bazarr: 8103
# - radarr: 8104
# - qbittorrent: 8080 # - qbittorrent: 8080
# - homepage: 8000 # - homepage: 8000
# - grafana: 3000 # - grafana: 3000
@@ -89,6 +93,64 @@ services:
- /mnt/usb/audio/from-youtube:/downloads - /mnt/usb/audio/from-youtube:/downloads
restart: unless-stopped restart: unless-stopped
sonarr:
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam
volumes:
- /mnt/usb/configurations/sonarr:/config
- /mnt/usb/torrent-downloads:/downloads
- /mnt/usb/shows:/data/shows
ports:
- 8101:8989
restart: unless-stopped
radarr:
image: lscr.io/linuxserver/radarr:latest
container_name: radarr
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam
volumes:
- /mnt/usb/configurations/radarr:/config
- /mnt/usb/torrent-downloads:/downloads
- /mnt/usb/movies:/movies
ports:
- 8104:7878
restart: unless-stopped
bazarr:
image: lscr.io/linuxserver/bazarr:latest
container_name: bazarr
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam
volumes:
- /mnt/usb/configurations/bazarr:/config
- /mnt/usb/shows:/data/shows
- /mnt/usb/movies:/movies
ports:
- 8103:6767
restart: unless-stopped
prowlarr:
container_name: prowlarr
image: ghcr.io/hotio/prowlarr
ports:
- "8102:9696"
environment:
- PUID=1000
- PGID=1000
- UMASK=002
- TZ=Europe/Amsterdam
volumes:
- /mnt/usb/configurations/prowlarr:/config
qbittorrent-nox: qbittorrent-nox:
image: qbittorrentofficial/qbittorrent-nox:latest image: qbittorrentofficial/qbittorrent-nox:latest
container_name: qbittorrent-nox container_name: qbittorrent-nox
@@ -98,7 +160,7 @@ services:
- "6881:6881/udp" - "6881:6881/udp"
volumes: volumes:
- /mnt/usb/configurations/qbittorrent:/config - /mnt/usb/configurations/qbittorrent:/config
- /mnt/usb:/downloads - /mnt/usb/torrent-downloads:/downloads
environment: environment:
- QBT_LEGAL_NOTICE=confirm - QBT_LEGAL_NOTICE=confirm
- WEBUI_PORT=8080 - WEBUI_PORT=8080
@@ -147,7 +209,7 @@ services:
ports: ports:
- "3000:3000" - "3000:3000"
environment: environment:
- GF_SECURITY_ADMIN_PASSWORD=YOUR_PASSWORD_HERE - GF_SECURITY_ADMIN_PASSWORD=YOURPASSWORDHERE
volumes: volumes:
- grafana_data:/var/lib/grafana - grafana_data:/var/lib/grafana
networks: networks:
@@ -156,6 +218,11 @@ services:
- prometheus - prometheus
restart: unless-stopped restart: unless-stopped
# NOTE: better run homeassistant alone in the rpi as OS (not container),
# which has support for 'add-ons'.
# More info: https://www.home-assistant.io/installation/#about-installation-types
networks: networks:
monitoring: monitoring:
driver: bridge driver: bridge

View File

@@ -30,7 +30,8 @@ output * bg ~/Sync-tablet/wallpapers/geometry02_croped1920x1080.png fill
# home setup: # home setup:
output HDMI-A-1 resolution 3840x2160 position 1920 0 output HDMI-A-1 resolution 3840x2160 position 1920 0
output eDP-1 resolution 1920x1200 position 0 0 # output eDP-1 resolution 1920x1200 position 0 0 transform 90
output DSI-1 resolution 1920x1200 position 0 0 transform 90
# portable external monitor setup: # portable external monitor setup:
# output DP-1 resolution 3840x2160 position 1920 0 # output DP-1 resolution 3840x2160 position 1920 0

View File

@@ -1,3 +1,5 @@
" this file goes at ~/.config/zathura/zathurarc " this file goes at ~/.config/zathura/zathurarc
map <C-O> exec "zathura $FILE" map <C-O> exec "zathura $FILE"
set selection-clipboard clipboard