debug: inspect Traefik config directory and file provider settings
All checks were successful
Deploy / deploy (push) Successful in 4m17s

This commit is contained in:
Gianpierre Mio
2026-03-10 10:16:47 -05:00
parent 2d3a3a8cb1
commit b7018ffd64

View File

@@ -48,12 +48,12 @@ jobs:
- name: Diagnostics - name: Diagnostics
run: | run: |
echo "=== Traefik config file ===" echo "=== Traefik config directory ==="
cat /etc/easypanel/traefik/config/api-ubigeo.yaml 2>/dev/null || echo "FILE NOT FOUND" 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 ===" echo "=== Container networks ==="
docker inspect ubigeo-api --format '{{json .NetworkSettings.Networks}}' 2>/dev/null | python3 -m json.tool docker inspect ubigeo-api --format '{{range $k,$v := .NetworkSettings.Networks}}{{$k}} {{end}}' 2>/dev/null || echo "container not found"
echo "=== Container status ==="
docker ps --filter name=ubigeo-api --format "{{.Names}} {{.Status}}"
- name: Health check - name: Health check
run: | run: |