fix(scraper): resolve port conflict by moving backend to 8002 [32788f42]

This commit is contained in:
2026-03-20 14:27:30 +00:00
parent c27e404ee1
commit ea8427aba5
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -16,7 +16,7 @@ function App() {
const [isLoading, setIsLoading] = useState(false);
const [error, setError] = useState<string | null>(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);