Skip to content

Commit

Permalink
New attempt to resolving the DNS woes
Browse files Browse the repository at this point in the history
  • Loading branch information
tronical committed Sep 27, 2024
1 parent de5a0b1 commit 1bd199b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/typesense-scrape.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- name: run scraper
run: |
docker run -i \
--add-host=host.docker.internal:host-gateway \
-e TYPESENSE_API_KEY=${{ secrets.TYPESENSE_API_KEY }} \
-e TYPESENSE_HOST="062ykax5pgwon3q7p-1.a1.typesense.net" \
-e TYPESENSE_PORT="443" \
Expand Down
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:/172.17.0.1",
"url": "http://host.docker.internal",
"selectors_key": "docs"
}
],
"sitemap_urls": [
"http:/172.17.0.1/sitemap.xml"
"http://host.docker.internal/sitemap.xml"
],
"selectors": {
"docs": {
Expand Down

0 comments on commit 1bd199b

Please sign in to comment.