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:
@@ -76,12 +76,8 @@ services:
|
||||
- ../eamco_authorize:/app
|
||||
ports:
|
||||
- '9516:8000'
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- MODE=DEVELOPMENT
|
||||
- AUTHORIZE_API_LOGIN_ID_DEV=${AUTHORIZE_API_LOGIN_ID_DEV}
|
||||
- AUTHORIZE_TRANSACTION_KEY_DEV=${AUTHORIZE_TRANSACTION_KEY_DEV}
|
||||
- POSTGRES_USERNAME=postgres
|
||||
- POSTGRES_PW=postgres
|
||||
- POSTGRES_SERVER=postgres_dev
|
||||
@@ -112,6 +108,19 @@ services:
|
||||
- '9618:8000'
|
||||
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
||||
|
||||
scraper_dev:
|
||||
restart: on-failure
|
||||
build:
|
||||
context: ../eamco_scraper
|
||||
dockerfile: Dockerfile.dev
|
||||
volumes:
|
||||
- ../eamco_scraper:/app
|
||||
environment:
|
||||
- MODE=dev
|
||||
ports:
|
||||
- '9619:8000'
|
||||
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
||||
|
||||
postgres_dev:
|
||||
image: postgres:13
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user