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