Merge branch 'glen/feature/aac-streaming'

we lost the ops scripts along the way. restore them.
This commit is contained in:
Brian O'Reilly 2025-10-02 11:49:21 -04:00
commit 882a99a22f
3 changed files with 43 additions and 0 deletions

3
.gitignore vendored
View File

@ -65,3 +65,6 @@ Thumbs.db
# Shell scripts (exclude from repository)
*.sh
# Exception: Docker utility scripts should be included
!docker/start.sh
!docker/stop.sh

28
docker/start.sh Executable file
View File

@ -0,0 +1,28 @@
#!/bin/bash
# Simple start script for Docker directory
# Run from: /home/glenn/Projects/Code/asteroid/docker/
echo "🎵 Starting Asteroid Radio Docker Services..."
# Check if Docker is running
if ! docker info > /dev/null 2>&1; then
echo "❌ Docker is not running. Please start Docker first."
exit 1
fi
# Start services
echo "🔧 Starting services..."
docker compose up -d
# Wait and show status
sleep 3
echo ""
echo "📊 Service Status:"
docker compose ps
echo ""
echo "🎵 Asteroid Radio is now streaming!"
echo "📡 High Quality: http://localhost:8000/asteroid.mp3"
echo "📡 Low Quality: http://localhost:8000/asteroid-low.mp3"
echo "🔧 Admin Panel: http://localhost:8000/admin/"

12
docker/stop.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
# Simple stop script for Docker directory
# Run from: /home/glenn/Projects/Code/asteroid/docker/
echo "🛑 Stopping Asteroid Radio Docker Services..."
# Stop services
docker compose down
echo ""
echo "✅ Services stopped."