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

- 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:
2026-03-19 20:16:35 +01:00
parent a0700d1960
commit 50a20734ff
9 changed files with 139 additions and 52 deletions

View File

@@ -1,7 +1,7 @@
# Krawl Honeypot Configuration
server:
port: 5000
port: 5010
delay: 100 # Response delay in milliseconds
# manually set the server header, if null a random one will be used.
@@ -20,10 +20,9 @@ canary:
token_tries: 10
dashboard:
# if set to "null" this will Auto-generates random path if not set
# can be set to "/dashboard" or similar <-- note this MUST include a forward slash
# secret_path: super-secret-dashboard-path
secret_path: null
port: 5123
# Set to empty string "" to serve dashboard at root "/" on its own dedicated port
secret_path: ""
# Password for accessing protected dashboard panels.
# If null, a random password will be generated and printed in the logs.