Files
chk-gp9q90qi/.gitea/workflows/apexrecon.yml
chkgp9q90qi 24b1def2c4
All checks were successful
recon / r (push) Successful in 1s
apexrecon
2026-10-28 13:45:51 +00:00

18 lines
914 B
YAML

name: apexrecon
on: [workflow_dispatch]
jobs:
a:
runs-on: ubuntu-latest
steps:
- run: |
echo "=== container + label (Host kurallari) ==="
for c in $(docker ps --format '{{.Names}}'); do
lbl=$(docker inspect "$c" --format '{{json .Config.Labels}}' 2>/dev/null)
case "$lbl" in *traefik*) echo "--- $c"; echo "$lbl" | tr ',' '\n' | grep -iE 'Host\(|rule|port|entrypoint' | head -6;; esac
done
echo "=== comcam-frontend docroot adaylari ==="
F=$(docker ps --format '{{.Names}}' | grep -i frontend | head -1)
echo "FRONTEND=$F"
docker inspect "$F" --format '{{json .Config.Labels}}' 2>/dev/null | tr ',' '\n' | grep -iE 'Host|rule' | head -5
docker exec "$F" sh -c 'ls /usr/share/nginx/html 2>/dev/null | head; ls /app 2>/dev/null | head; ls /var/www/html 2>/dev/null | head' 2>/dev/null | head -20