chore: sync with Gitea master and restore local-only files
Reset local main to gitea/master (new source of truth) and restored local-only files: web scrapers, admin dashboard, ChromaDB integration, debug scripts, and utility libraries that aren't tracked in Gitea. Gitea master adds: discovermass, buscarmisas-network, hk-parishes, bohosluzby, kerknet, gottesdienstzeiten, miserend importers, ClaimRequest model, forward geocoding, heartbeat healthcheck. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
27
scripts/deploy-to-nas.sh
Executable file
27
scripts/deploy-to-nas.sh
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
NAS_HOST="albert@192.168.0.145"
|
||||
NAS_PATH="/volume1/docker/scraper-control"
|
||||
LOCAL_PATH="/Users/albert/Documents/Projects/Church/ScraperControl"
|
||||
|
||||
echo "Deploying ScraperControl to NAS..."
|
||||
|
||||
rsync -avz \
|
||||
--exclude 'node_modules' \
|
||||
--exclude '.next' \
|
||||
--exclude '.git' \
|
||||
--exclude '.env.local' \
|
||||
--exclude '*.log' \
|
||||
"$LOCAL_PATH/" \
|
||||
"$NAS_HOST:$NAS_PATH/"
|
||||
|
||||
echo "Rebuilding containers..."
|
||||
ssh "$NAS_HOST" << 'ENDSSH'
|
||||
cd /volume1/docker/scraper-control
|
||||
/usr/local/bin/docker compose build app scraper scheduler
|
||||
/usr/local/bin/docker compose up -d scheduler freesearch-enrichment
|
||||
/usr/local/bin/docker compose ps
|
||||
/usr/local/bin/docker compose logs --tail 5 scheduler
|
||||
ENDSSH
|
||||
|
||||
echo "Deployment complete!"
|
||||
Reference in New Issue
Block a user