first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 21:37:58 +03:00
commit 8b1fbdee99
104 changed files with 23398 additions and 0 deletions

35
start-with-docker.sh Normal file
View File

@@ -0,0 +1,35 @@
#!/bin/bash
echo "🚀 Starting GAuth-Central with Docker..."
echo ""
# Check if .env exists
if [ ! -f .env ]; then
echo "⚠️ .env file not found. Creating from .env.example..."
cp .env.example .env
echo "✅ Please edit .env file with your configuration"
echo ""
fi
# Start services
echo "📦 Starting PostgreSQL, Redis, and Application..."
docker-compose up -d
echo ""
echo "✅ Services started successfully!"
echo ""
echo "📊 Service Status:"
docker-compose ps
echo ""
echo "🌐 Application URLs:"
echo " - API: http://localhost:8080"
echo " - Swagger Docs: http://localhost:8080/docs/index.html"
echo " - Health Check: http://localhost:8080/"
echo ""
echo "📝 To view logs:"
echo " docker-compose logs -f app"
echo ""
echo "🛑 To stop services:"
echo " docker-compose down"
echo ""