A small HTTP server that responds with the content of the requests it recieves. Can namely be used to test deployment of services behind a reverse-proxy.
docker build . -t echo-http
Example with docker-compose :
version: "3.9"networks:
nginx:
name: nginx_networkexternal: trueservices:
echo:
image: echo-http:latestcontainer_name: echoports:
- '8080:8080'# direct accessnetworks:
- nginx # access through reverse proxyuser: '1000:1000'