fix: update scraper dep, add curl for healthcheck, remove stale source
Some checks failed
Build and Push Docker Image / build (push) Failing after 34s
Some checks failed
Build and Push Docker Image / build (push) Failing after 34s
- Update schwab-scraper to f52774b (optimized lot extraction polling, faster account switching with selector-based waits) - Install curl in Docker image so compose healthcheck works - Remove bundled schwab_scraper/ source (now installed via git dep) - Increase memory limit to 512M for large account position scraping
This commit is contained in:
15
compose.yaml
15
compose.yaml
@@ -4,9 +4,22 @@ include:
|
||||
services:
|
||||
schwab-mcp:
|
||||
<<: *mcp-service
|
||||
<<: *mcp-healthcheck
|
||||
image: gitea.ext.ben.io/b3nw/schwab-mcp-custom:latest
|
||||
container_name: schwab-mcp
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 15s
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 512M
|
||||
cpus: '1.0'
|
||||
reservations:
|
||||
memory: 128M
|
||||
cpus: '0.1'
|
||||
environment:
|
||||
- SCHWAB_PLAYWRIGHT_URL=ws://schwab-browser:3000/playwright/chromium
|
||||
- PORT=8000
|
||||
|
||||
Reference in New Issue
Block a user