refactor: replaced all values with their respective env var that were missed
This commit is contained in:
+3
-3
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user