fix(Discovery): Add comprehensive debug logging for router initialization
- Add initializer count logging in DiscoveryServiceBootstrapper - Add route structure analysis in RouterSetup - Add request parameter logging in HttpRouter - Update PHP production config for better OPcache handling - Fix various config and error handling improvements
This commit is contained in:
21
deployment/infrastructure/restart.sh
Executable file
21
deployment/infrastructure/restart.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
# Restart specific Docker container on production server
|
||||
# Usage: ./restart.sh [container_name]
|
||||
# Example: ./restart.sh php
|
||||
# Without argument: restarts all containers
|
||||
|
||||
CONTAINER="${1:-all}"
|
||||
|
||||
echo "🔄 Restarting container(s) on production server..."
|
||||
echo ""
|
||||
|
||||
if [ "$CONTAINER" = "all" ]; then
|
||||
echo "Restarting ALL containers..."
|
||||
ssh -i ~/.ssh/production deploy@michaelschiemer.de "cd /home/deploy/michaelschiemer/current && docker compose -f docker-compose.yml -f docker-compose.production.yml restart"
|
||||
else
|
||||
echo "Restarting container: $CONTAINER"
|
||||
ssh -i ~/.ssh/production deploy@michaelschiemer.de "docker restart $CONTAINER"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "✅ Done!"
|
||||
Reference in New Issue
Block a user