Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .assets-revision
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@
# is a git revision (branch name like `main`, a tag, or a specific commit
# sha). Override at runtime with the ASSETS_REVISION env var.
repo: ChilleD/WebHarbor
revision: 54882a6a66a17a3e43455057e7c9e0d103cd8b81
# Pinned to HF PR #40 (adds healthline.tar.gz on top of current main) so this
# PR builds end-to-end before the assets PR is merged. This ref contains all
# 17 site tarballs. Maintainer: once
# https://huggingface.co/datasets/ChilleD/WebHarbor/discussions/40 is merged,
# bump this to the merged commit SHA on main.
revision: refs/pr/40
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ COPY control_server.py /opt/control_server.py
COPY site_runner.py /opt/site_runner.py
RUN chmod +x /opt/websyn_start.sh

EXPOSE 8101 40000-40015
EXPOSE 8101 40000-40016

CMD ["/opt/websyn_start.sh"]
2 changes: 1 addition & 1 deletion control_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
'allrecipes', 'amazon', 'apple', 'arxiv', 'bbc_news', 'booking',
'github', 'google_flights', 'google_map', 'google_search',
'huggingface', 'wolfram_alpha', 'cambridge_dictionary',
'coursera', 'espn', 'merriam_webster',
'coursera', 'espn', 'merriam_webster', 'healthline',
]
BASE_PORT = 40000
WEBSYN_DIR = '/opt/WebSyn'
Expand Down
10 changes: 10 additions & 0 deletions sites/healthline/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Build-time scrape intermediate — never shipped (runtime data lives in
# instance_seed/healthline.db). The repo-root .gitignore intends to ignore
# this but its trailing inline comment defeats the pattern, so re-assert it
# locally to keep the heavy harvested HTML/images out of the GitHub PR.
scraped_data/

# Recreated from instance_seed/ on every boot; not committed.
instance/
__pycache__/
*.pyc
3 changes: 3 additions & 0 deletions sites/healthline/_health.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"""Per-site health probe (optional, called by control_server)."""
def health():
return {"ok": True, "site": "healthline"}
Loading