feat: split honeypot and dashboard into separate services on dedicated ports
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
- Honeypot listens on port 5010 - Dashboard listens on port 5123 at URL / - Add app_dashboard.py as standalone FastAPI app - Add start.sh to launch both uvicorn processes - Fix dashboard_path computation to return "" at root (avoid double-slash URLs) - Update Dockerfile, docker-compose.yaml, config.yaml, config.py Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
---
|
||||
# THIS IS FOR DEVELOPMENT PURPOSES
|
||||
services:
|
||||
krawl:
|
||||
build:
|
||||
@@ -7,12 +6,15 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
container_name: krawl-server
|
||||
ports:
|
||||
- "5000:5000"
|
||||
- "5010:5010" # Honeypot (crawler trap)
|
||||
- "5123:5123" # Dashboard (public UI)
|
||||
environment:
|
||||
- CONFIG_LOCATION=config.yaml
|
||||
# Uncomment to set a custom dashboard password (auto-generated if not set)
|
||||
# - KRAWL_DASHBOARD_PASSWORD=your-secret-password
|
||||
# set this to change timezone, alternatively mount /etc/timezone or /etc/localtime based on the time system management of the host environment
|
||||
# Override ports if needed
|
||||
# - HONEYPOT_PORT=5010
|
||||
# - DASHBOARD_PORT=5123
|
||||
# - TZ=${TZ}
|
||||
volumes:
|
||||
- ./wordlists.json:/app/wordlists.json:ro
|
||||
|
||||
Reference in New Issue
Block a user