2025-12-14 19:08:01 +01:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
krawl:
|
|
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
container_name: krawl-server
|
|
|
|
|
ports:
|
|
|
|
|
- "5000:5000"
|
|
|
|
|
volumes:
|
|
|
|
|
- ./wordlists.json:/app/wordlists.json:ro
|
2026-01-04 22:20:10 +01:00
|
|
|
- ./config.yaml:/app/config.yaml:ro
|
|
|
|
|
- ./logs:/app/logs
|
2025-12-14 19:08:01 +01:00
|
|
|
environment:
|
2026-01-04 22:20:10 +01:00
|
|
|
- CONFIG_LOCATION=config.yaml
|
2025-12-14 19:08:01 +01:00
|
|
|
restart: unless-stopped
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "python3", "-c", "import requests; requests.get('http://localhost:5000')"]
|
|
|
|
|
interval: 30s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 3
|
|
|
|
|
start_period: 10s
|