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:
11
add_towns.sh
Executable file
11
add_towns.sh
Executable 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
|
||||
Reference in New Issue
Block a user