feat: add scraper service to all Docker environments

Add eamco_scraper container definitions for dev, local, prod, and
Unraid deployments on port 9519. Remove unused Authorize env_file
references from dev config. Include add_towns.sh helper script for
bootstrapping street reference data.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-08 17:54:29 -05:00
parent 927cca9db5
commit 9d5c3c72f6
6 changed files with 65 additions and 4 deletions

11
add_towns.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
towns=("Sutton" "Oxford" "North Oxford" "Webster" "Grafton" "Dudley" "Charlton" "Cherry Valley" "Rochdale" "Paxton" "Spencer" "Worcester")
base_url="http://localhost:9618/streets"
state="MA"
for town in "${towns[@]}"; do
encoded_town="${town// /%20}"
echo "Adding $town..."
curl -s -X POST "$base_url/$encoded_town/$state"
echo ""
done