Skip to content

Instantly share code, notes, and snippets.

View iu2frl's full-sized avatar

Luca iu2frl

View GitHub Profile
@iu2frl
iu2frl / readme.md
Created February 8, 2026 15:05
Immich on OpenMediaVault with external custom library

As I migrated my NAS to OpenMediaVault, I already had a big number of pictures that were already organized in a specific folder. Immich has its own folder structure which did not match, so I had to come up with something different

This is the docker-compose.yml I used, where a custom additional folder was added:

#
# WARNING: To install Immich, follow our guide: https://docs.immich.app/install/docker-compose
#
# Make sure to use the docker-compose.yml of the current release:
#
@iu2frl
iu2frl / readme.md
Last active February 8, 2026 15:05 — forked from gangefors/Install FreeNAS SCALE on a partition and create a mirror.md
How to install TrueNAS SCALE on a partition and use the space left for apps

Install TrueNAS SCALE on a partition instead of the full disk

The TrueNAS installer doesn't have a way to use anything less than the full device. This is usually a waste of resources when installing to a modern NVMe which is usually several hundred of GB. TrueNAS SCALE will use only a few GB for its system files so installing to a 16GB partition would be helpful.

Note

Tested with TrueNAS 25.10

The easiest way to solve this is to modify the installer script before starting the installation process.

  1. Boot TrueNAS Scale installer from USB stick/ISO
@iu2frl
iu2frl / portainer_backup.sh
Created February 27, 2025 18:11
Backup of Docker volumes and Portainer settings
#!/bin/bash
# Telegram Bot Credentials
TELEGRAM_BOT_TOKEN=""
TELEGRAM_CHAT_ID=""
# Backup API
BACKUP_API_URL="https://127.0.0.1:9443/api/backup"
API_KEY=""