Simulate slow http responses
- Run command
docker run --env DELAY_RESPONSE=20s -p 8080:8080 kishanb/slow-http:1.0.1
- Open
http://localhost:8080
In docker compose add this
version: "3.8"
services:
slow-http:
image: kishanb/slow-http:1.0.1
ports:
- "8080:8080"
environment:
DELAY_RESPONSE: 20s
You can configure DELAY_RESPONSE to your desired delay value