docker compose up --build- Frontend: http://localhost:5173
- Backend: http://localhost:8000
- PostgreSQL: localhost:5434
Stop containers:
docker compose downCheck logs:
docker compose logs -fdocker-compose.yml runs three services:
postgres: PostgreSQL 16 with pgvector support.backend: FastAPI app fromback/.frontend: Vite React app fromfront/.
The backend uses DATABASE_URL=postgresql://study_user:study_password@postgres:5432/study_web_db inside Docker. From the host machine, use localhost:5434 instead. See .env.example.