refactor: replaced all values with their respective env var that were missed

This commit is contained in:
2026-05-25 04:38:46 -07:00
parent 6dbc6732fa
commit 676182baea
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -100,7 +100,7 @@ services:
echo "Updating qBit to port: $$CLEAN_PORT";
sleep 10;
echo "Updated to $$CLEAN_PORT"
curl -s -X POST -d "json={\"listen_port\":$$CLEAN_PORT}" http://localhost:2161/api/v2/app/setPreferences;
curl -s -X POST -d "json={\"listen_port\":$$CLEAN_PORT}" http://localhost:${QBITTORRENT_PORT}/api/v2/app/setPreferences;
# 4. Success! Now sleep for a long time (e.g., 1 hour)
sleep 3600 & wait $$!;
@@ -209,8 +209,8 @@ services:
volumes:
- /home/shaan/torrent-stack/lidarr:/music
- /var/lib/lidarr:/config
- /mnt/media:/media
- /mnt/11tb_ext:/11tb_ext
- ${DISK1}:${DISK1}
- ${DISK2}:${DISK2}
labels:
- "autoheal=true"
network_mode: "container:gluetun"
+3 -3
View File
@@ -33,9 +33,9 @@
uptime: true # disabled by default
disk: # disabled by default, use mount point of disk(s) in glances. Can also be a list (see below)
- /
- /host/mnt/media
- /host/mnt/11tb_ext
- /host/mnt/shaimpy
- "/host{{HOMEPAGE_VAR_DISK1}}"
- "/host{{HOMEPAGE_VAR_DISK2}}"
- "/host{{HOMEPAGE_VAR_DISK3}}"
diskUnits: bytes # optional, bytes (default) or bbytes. Only applies to disk
expanded: true # show the expanded view
#label: MyMachine # optional