Skip to content

Commit

Permalink
Fix connection to local http server and typesense server
Browse files Browse the repository at this point in the history
  • Loading branch information
tronical committed Sep 27, 2024
1 parent 3669e73 commit fa29785
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/typesense-scrape.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
run: |
docker run -i \
-e TYPESENSE_API_KEY=${{ secrets.TYPESENSE_API_KEY }} \
-e TYPESENSE_HOST="typesense.slint.dev" \
-e TYPESENSE_PORT="8101" \
-e TYPESENSE_PROTOCOL="http" \
-e TYPESENSE_HOST="062ykax5pgwon3q7p-1.a1.typesense.net" \
-e TYPESENSE_PORT="443" \
-e TYPESENSE_PROTOCOL="https" \
-e CONFIG="$(cat config/typesense-scraper-config.json | jq -r tostring)" \
typesense/docsearch-scraper:0.10.0
4 changes: 2 additions & 2 deletions config/typesense-scraper-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"index_name": "$TYPESENSE_INDEX_NAME",
"start_urls": [
{
"url": "http://localhost:80",
"url": "http://host.docker.internal:80",
"selectors_key": "docs"
}
],
"sitemap_urls": [
"http://localhost:80/sitemap.xml"
"http://host.docker.internal:80/sitemap.xml"
],
"selectors": {
"docs": {
Expand Down

0 comments on commit fa29785

Please sign in to comment.