mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-21 14:18:11 +02:00
feat: Replace SearXNG with DuckDuckGo for product search
- Remove SearXNG container and configuration files - Add duckduckgo-search library for web search - Create duckduckgo_service.py with async search support - Update search_service.py to use DuckDuckGo instead of SearXNG - Fix BROWSERLESS_URL port to 3012 This eliminates the persistent limiter.toml directory issue and provides a simpler, more reliable search solution.
This commit is contained in:
7 files changed
+183
-283
No files matched your search
+1
-24
@@ -12,8 +12,7 @@ services:
|
||||
- "8555:8555"
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://priceflow:priceflow@db:5432/priceflow
|
||||
- BROWSERLESS_URL=ws://browserless:3000
|
||||
- SEARXNG_URL=http://searxng:8080
|
||||
- BROWSERLESS_URL=ws://browserless:3012
|
||||
- LOG_LEVEL=INFO
|
||||
- CORS_ORIGINS=*
|
||||
depends_on:
|
||||
@@ -21,8 +20,6 @@ services:
|
||||
condition: service_healthy
|
||||
browserless:
|
||||
condition: service_started
|
||||
searxng:
|
||||
condition: service_started
|
||||
volumes:
|
||||
- screenshots_data:/app/screenshots
|
||||
networks:
|
||||
@@ -50,26 +47,6 @@ services:
|
||||
networks:
|
||||
- nginx_default
|
||||
|
||||
# SearXNG - Moteur de recherche auto-hébergé
|
||||
searxng:
|
||||
image: searxng/searxng:latest
|
||||
container_name: priceflow-searxng
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8888:8080"
|
||||
environment:
|
||||
- SEARXNG_BASE_URL=http://searxng:8080
|
||||
- SEARXNG_SECRET=priceflow-searxng-secret
|
||||
volumes:
|
||||
# Mount entire config directory to avoid file/directory issues
|
||||
- ./searxng:/etc/searxng:rw
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 1.1.1.1
|
||||
networks:
|
||||
- nginx_default
|
||||
|
||||
# Browserless - Navigateur headless pour le scraping
|
||||
browserless:
|
||||
image: ghcr.io/browserless/chromium:latest
|
||||
|
||||
Reference in new issue
Block a user