infracloud/dev-scripts/get_logs.sh
2026-03-04 05:58:41 -06:00

3 lines
279 B
Bash

#!/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