This image is used for debugging. Sending a request to this service will echo the same request and print the headers, url-query and body in the log.
It accepts GET-, POST-, PUT-, DELETE-, PATCH- and OPTIONS-requests.
You can run the image on docker-hub by calling
docker run -p 80:80 mollee/echo-rest
You can also build and run the application you self with these commands
git clone [email protected]:molleer/echo-rest.git
cd echo-rest
docker-compose -f prod.docker-compose.yml up --build
Configure the environment variables via the prod.docker-compose.yml file or add the -e flag when running the docker run command.
LISTEN_PORT - The default port is 80 but can be changes with the environment variable LISTEN_PORT.
docker pull mollee/echo-rest:latest