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>
12 lines
365 B
Bash
Executable File
12 lines
365 B
Bash
Executable File
#!/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
|