feat: initial commit - Scrapyd UI web interface
- Next.js 16.0.1 + React 19.2.0 + Tailwind CSS 4.1.16 - Complete Scrapyd API integration (all 12 endpoints) - Dashboard with real-time job monitoring - Projects management (upload, list, delete) - Spiders management with scheduling - Jobs monitoring with filtering and cancellation - System status monitoring - Dark/light theme toggle with next-themes - Server-side authentication via environment variables - Docker deployment with multi-stage builds - GitHub Actions CI/CD workflow 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
30
docker-compose.dev.yml
Normal file
30
docker-compose.dev.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
scrapy-ui-dev:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.dev
|
||||
image: scrapy-ui:dev
|
||||
container_name: scrapy-ui-dev
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- .:/app
|
||||
- /app/node_modules
|
||||
- /app/.next
|
||||
environment:
|
||||
- NODE_ENV=development
|
||||
- SCRAPYD_URL=${SCRAPYD_URL:-https://scrapy.pivoine.art}
|
||||
- SCRAPYD_USERNAME=${SCRAPYD_USERNAME}
|
||||
- SCRAPYD_PASSWORD=${SCRAPYD_PASSWORD}
|
||||
env_file:
|
||||
- .env.local
|
||||
networks:
|
||||
- scrapy-network
|
||||
command: pnpm dev
|
||||
|
||||
networks:
|
||||
scrapy-network:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user