first commit

This commit is contained in:
Lars Behrends
2025-10-17 13:29:28 +02:00
commit 929ee43001
85 changed files with 10361 additions and 0 deletions

35
docker-start.sh Normal file
View File

@@ -0,0 +1,35 @@
#!/bin/bash
# Media Collector Docker Startup Script
echo "🚀 Starting Media Collector with Docker..."
# Check if .env file exists
if [ ! -f .env ]; then
echo "⚠️ .env file not found. Copying from .env.example..."
cp .env.example .env
echo "✅ .env file created. Please edit it with your configuration."
fi
# Check if database file exists
if [ ! -f database/database.sqlite ]; then
echo "📦 Database file not found. It will be created automatically."
fi
echo "🐳 Building and starting containers..."
docker-compose up --build -d
echo ""
echo "🎉 Media Collector is now running!"
echo "📱 Access the application at: http://localhost:8000"
echo "🔐 Admin panel at: http://localhost:8000/admin"
echo ""
echo "📋 Useful commands:"
echo " docker-compose logs -f # View logs"
echo " docker-compose down # Stop containers"
echo " docker-compose up -d # Start containers"
echo " docker-compose exec app bash # Access PHP container"
echo ""
echo "🔧 For development with hot-reload:"
echo " docker-compose --profile dev up"
echo ""