From ea8427aba5ea7ba25c5191864dc4d01e1460ea36 Mon Sep 17 00:00:00 2001 From: Floke Date: Fri, 20 Mar 2026 14:27:30 +0000 Subject: [PATCH] fix(scraper): resolve port conflict by moving backend to 8002 [32788f42] --- fotograf-de-scraper/docker-compose.yml | 2 +- fotograf-de-scraper/frontend/src/App.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fotograf-de-scraper/docker-compose.yml b/fotograf-de-scraper/docker-compose.yml index f86a4483d..9f34cf1e3 100644 --- a/fotograf-de-scraper/docker-compose.yml +++ b/fotograf-de-scraper/docker-compose.yml @@ -9,7 +9,7 @@ services: env_file: - ./.env ports: - - "8001:8000" # Map internal 8000 to external 8001 to avoid conflicts + - "8002:8000" # Map internal 8000 to external 8002 to avoid conflicts volumes: - ./backend:/app # Mount the backend code for easier development restart: unless-stopped diff --git a/fotograf-de-scraper/frontend/src/App.tsx b/fotograf-de-scraper/frontend/src/App.tsx index 387c21a01..8999d7a62 100644 --- a/fotograf-de-scraper/frontend/src/App.tsx +++ b/fotograf-de-scraper/frontend/src/App.tsx @@ -16,7 +16,7 @@ function App() { const [isLoading, setIsLoading] = useState(false); const [error, setError] = useState(null); - const API_BASE_URL = import.meta.env.VITE_API_BASE_URL || 'http://localhost:8001'; + const API_BASE_URL = import.meta.env.VITE_API_BASE_URL || 'http://localhost:8002'; const fetchJobs = async () => { setIsLoading(true);