From 599d8372cb3ff78b3539dfcdf436033a9be079aa Mon Sep 17 00:00:00 2001 From: Gianpierre Mio <88248836+DarkCodex29@users.noreply.github.com> Date: Tue, 10 Mar 2026 10:24:42 -0500 Subject: [PATCH] debug: print traefik.yaml and main.yaml to understand file provider config --- .github/workflows/deploy.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1cb5383..04b03ba 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -48,12 +48,10 @@ jobs: - name: Diagnostics run: | - echo "=== Traefik config directory ===" - docker run --rm -v /etc/easypanel/traefik:/traefik-host alpine sh -c "ls /traefik-host/config/ && echo '---' && cat /traefik-host/config/api-ubigeo.yaml 2>/dev/null || echo 'api-ubigeo.yaml NOT FOUND'" - echo "=== Traefik main config (file provider section) ===" - docker run --rm -v /etc/easypanel/traefik:/traefik-host alpine grep -A 5 "file\|directory\|watch" /traefik-host/traefik.yaml 2>/dev/null || docker run --rm -v /etc/easypanel/traefik:/traefik-host alpine sh -c "ls /traefik-host/ && cat /traefik-host/traefik.yaml 2>/dev/null | head -50" - echo "=== Container networks ===" - docker inspect ubigeo-api --format '{{range $k,$v := .NetworkSettings.Networks}}{{$k}} {{end}}' 2>/dev/null || echo "container not found" + echo "=== traefik.yaml content ===" + docker run --rm -v /etc/easypanel/traefik:/traefik-host alpine cat /traefik-host/traefik.yaml + echo "=== main.yaml content ===" + docker run --rm -v /etc/easypanel/traefik:/traefik-host alpine cat /traefik-host/config/main.yaml - name: Health check run: |