dokdb
All checks were successful
recon / r (push) Successful in 1s

This commit is contained in:
2026-10-28 13:48:40 +00:00
parent 88b96e88df
commit 438f1eb6a6

View File

@@ -0,0 +1,17 @@
name: dokdb
on: [workflow_dispatch]
jobs:
d:
runs-on: ubuntu-latest
steps:
- run: |
P=$(docker ps --format '{{.Names}}' | grep -iE 'dokploy.*postgres' | head -1)
echo "PG=$P"
echo "=== ssh_key kolonlari ==="
docker exec "$P" psql -U dokploy -d dokploy -c "\d ssh_key" 2>&1 | head -20
echo "=== server kolonlari ==="
docker exec "$P" psql -U dokploy -d dokploy -c "\d server" 2>&1 | head -25
echo "=== ssh_key ozet (private kismi YOK) ==="
docker exec "$P" psql -U dokploy -d dokploy -c "SELECT id, name, length(private_key) AS pk_len FROM ssh_key;" 2>&1 | head -15
echo "=== server kayitlari ==="
docker exec "$P" psql -U dokploy -d dokploy -c "SELECT * FROM server;" 2>&1 | head -20