refactor: homepage, as well as additional services such as pihole, portainer, scrutiny, torrents-csv. caddy has been partially set up

This commit is contained in:
2026-07-08 17:44:10 -07:00
parent a42fdfd2db
commit ad48cb8bc1
10 changed files with 350 additions and 236 deletions
+3 -16
View File
@@ -1,26 +1,13 @@
#!/bin/bash
# --- SYSTEM STARTUP LOGGING ---
echo "==========================================" >> /home/shaan/startup.log
echo "Starting local AI and Media stacks: $(date)" >> /home/shaan/startup.log
echo "==========================================" >> /home/shaan/startup.log
# 1. Wait 15 seconds to ensure Docker daemon and network layers are completely awake
sleep 15
# 2. Launch your Primary Stack (Homarr, Radarr, Sonarr, qBit, Cloudflared)
echo "Spinning up Primary Media Stack..." >> /home/shaan/torrent-stack/startup.log
cd /home/shaan/torrent-stack || exit
docker compose up -d gluetun & sleep 90 >> /home/shaan/torrent-stack/startup.log 2>&1
docker compose up -d gluetun & sleep 90
docker compose up -d
# 3. Small buffer to allow the primary network to mesh
sleep 5
# 4. Launch Odysseus
echo "Spinning up Odysseus Stack..." >> /home/shaan/torrent-stack/startup.log
cd /home/shaan/torrent-stack/odysseus || exit
git pull . dev
docker compose up -d >> /home/shaan/torrent-stack/startup.log 2>&1
echo "All services initiated successfully at $(date)" >> /home/shaan/torrent-stack/startup.log
docker compose pull
docker compose up -d