New addition: Echo Server

This commit is contained in:
2023-09-24 01:10:34 +02:00
parent 6eebff531a
commit 7689f488f4
2 changed files with 18 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
# Uncomment and change the following variables if you want to use them.
#RESTART=unless-stopped
#ECHOSERVER_CONTAINER_NAME=EchoServer
#ECHOSERVER_TAG=latest
#ECHOSERVER_PORT=8080
+13
View File
@@ -0,0 +1,13 @@
services:
# Echo Server
echoserver:
container_name: ${ECHOSERVER_CONTAINER_NAME:-EchoServer}
image: jmalloc/echo-server:${ECHOSERVER_TAG:-latest}
restart: ${RESTART:-unless-stopped}
environment:
PORT: ${ECHOSERVER_PORT:-8080}
LOG_HTTP_BODY: ${ECHOSERVER_LOG_HTTP_BODY:-}
LOG_HTTP_HEADERS: ${ECHOSERVER_LOG_HTTP_HEADERS:-}
SEND_SERVER_HOSTNAME: ${ECHOSERVER_SEND_SERVER_HOSTNAME:-true}
ports:
- ${ECHOSERVER_PORT:-8080}:${ECHOSERVER_PORT:-8080}