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