From f14ce21ded2a0212199183830cedbecbd5a892fa Mon Sep 17 00:00:00 2001 From: syui Date: Wed, 10 Dec 2025 16:08:11 +0900 Subject: [PATCH] test bgs cmd --- compose.yml | 1 + install.zsh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index ca1a873..7f28a79 100644 --- a/compose.yml +++ b/compose.yml @@ -86,6 +86,7 @@ services: depends_on: database: condition: service_healthy + command: ["/bigsky", "--crawl-insecure-ws"] social-app: ports: diff --git a/install.zsh b/install.zsh index 890fa09..c77b889 100755 --- a/install.zsh +++ b/install.zsh @@ -431,7 +431,7 @@ function at-repos-reset-bgs-db() { result=$(curl -s -X POST "https://bgs.${host}/admin/pds/requestCrawl" \ -H "Authorization: Bearer ${BGS_ADMIN_KEY}" \ -H "Content-Type: application/json" \ - -d "{\"hostname\":\"${host}\"}" \ + -d "{\"hostname\":\"pds:3000\"}" \ -w "%{http_code}" -o /dev/null) if [ "$result" = "200" ]; then echo "✅ PDS crawl requested successfully"