#!/bin/bash
echo "========================================="
echo "Checking Normogen Server Logs on Solaria"
echo "========================================="
echo ""

ssh alvaro@solaria << 'ENDSSH'
cd ~/normogen/backend

echo "Container status:"
docker-compose ps

echo ""
echo "Backend logs (last 50 lines):"
docker-compose logs --tail=50 backend

echo ""
echo "MongoDB logs:"
docker-compose logs --tail=20 mongodb

ENDSSH
