Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 755 Bytes

File metadata and controls

30 lines (23 loc) · 755 Bytes

s.containers/http-echo

Why?

HTTP Echo is a straightforward HTTP server that promptly returns the request it receives, making it highly beneficial for debugging and testing purposes. This is particularly advantageous in scenarios where there is a complex infrastructure involving SSL termination and authentication, as the service accurately responds with all the headers and the body it has received.

Example

services:
  app:
    image: ghcr.io/scolastico-dev/s.containers/http-echo:latest
    environment:
      LOG_REQUEST: "true" # optional
    ports:
      - "3000:3000"

or

docker run --rm --name http-echo -p 3000:3000 ghcr.io/scolastico-dev/s.containers/http-echo:latest