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";
|
echo "Updating qBit to port: $$CLEAN_PORT";
|
||||||
sleep 10;
|
sleep 10;
|
||||||
echo "Updated to $$CLEAN_PORT"
|
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)
|
# 4. Success! Now sleep for a long time (e.g., 1 hour)
|
||||||
sleep 3600 & wait $$!;
|
sleep 3600 & wait $$!;
|
||||||
@@ -209,8 +209,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /home/shaan/torrent-stack/lidarr:/music
|
- /home/shaan/torrent-stack/lidarr:/music
|
||||||
- /var/lib/lidarr:/config
|
- /var/lib/lidarr:/config
|
||||||
- /mnt/media:/media
|
- ${DISK1}:${DISK1}
|
||||||
- /mnt/11tb_ext:/11tb_ext
|
- ${DISK2}:${DISK2}
|
||||||
labels:
|
labels:
|
||||||
- "autoheal=true"
|
- "autoheal=true"
|
||||||
network_mode: "container:gluetun"
|
network_mode: "container:gluetun"
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
uptime: true # disabled by default
|
uptime: true # disabled by default
|
||||||
disk: # disabled by default, use mount point of disk(s) in glances. Can also be a list (see below)
|
disk: # disabled by default, use mount point of disk(s) in glances. Can also be a list (see below)
|
||||||
- /
|
- /
|
||||||
- /host/mnt/media
|
- "/host{{HOMEPAGE_VAR_DISK1}}"
|
||||||
- /host/mnt/11tb_ext
|
- "/host{{HOMEPAGE_VAR_DISK2}}"
|
||||||
- /host/mnt/shaimpy
|
- "/host{{HOMEPAGE_VAR_DISK3}}"
|
||||||
diskUnits: bytes # optional, bytes (default) or bbytes. Only applies to disk
|
diskUnits: bytes # optional, bytes (default) or bbytes. Only applies to disk
|
||||||
expanded: true # show the expanded view
|
expanded: true # show the expanded view
|
||||||
#label: MyMachine # optional
|
#label: MyMachine # optional
|
||||||
|
|||||||
Reference in New Issue
Block a user