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"
|
||||
|
||||
Reference in New Issue
Block a user