debug: print traefik.yaml and main.yaml to understand file provider config
Some checks failed
Deploy / deploy (push) Failing after 4m11s

This commit is contained in:
Gianpierre Mio
2026-03-10 10:24:42 -05:00
parent b7018ffd64
commit 599d8372cb

View File

@@ -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: |