Barazo Docker Compose templates for self-hosting barazo.forum

Merge pull request #54 from barazo-forum/fix/login-check-handle

fix(deploy): use real Bluesky handle in login verification

authored by

Guido X Jansen and committed by
GitHub
1d06e1b1 844e9fd4

+2 -1
+2 -1
.github/workflows/deploy-staging.yml
··· 324 324 325 325 # Retry up to 6 times (30s total) -- API may still be starting after deploy 326 326 # Use 127.0.0.1 (not localhost) -- Alpine may not resolve localhost to IPv4 327 + # Use a real Bluesky handle -- the API resolves the DID via the AT Protocol 327 328 for i in $(seq 1 6); do 328 329 RESPONSE=$(docker compose ${{ env.COMPOSE_FILES }} exec -T barazo-api \ 329 - wget -qO- "http://127.0.0.1:3000/api/auth/login?handle=test.bsky.social" 2>&1 || true) 330 + wget -qO- "http://127.0.0.1:3000/api/auth/login?handle=bsky.app" 2>&1 || true) 330 331 331 332 if echo "$RESPONSE" | grep -q '"url"'; then 332 333 echo "Login endpoint OK: response contains redirect URL (attempt $i/6)"