#!/bin/bash
docker exec coolify sqlite3 /var/www/html/database/database.sqlite "SELECT logs FROM application_deployments WHERE application_id = (SELECT id FROM applications WHERE uuid='eosgwscc4g044c884k0ws4gc') ORDER BY created_at DESC LIMIT 1;" > /tmp/out.txt
cat /tmp/out.txt
