@@ -18,7 +18,7 @@ Please do not use the `:latest` tag as it will break without warning, use a spec
1818
1919Run with Docker
2020
21- docker run -p 8080:8080 -p 8443:8443 --rm -t mendhak/http-https-echo:17
21+ docker run -p 8080:8080 -p 8443:8443 --rm -t mendhak/http-https-echo:18
2222
2323Or run with Docker Compose
2424
@@ -35,13 +35,13 @@ You can choose a different internal port instead of 8080 and 8443 with the `HTTP
3535
3636In this example I'm setting http to listen on 8888, and https to listen on 9999.
3737
38- docker run -e HTTP_PORT=8888 -e HTTPS_PORT=9999 -p 8080:8888 -p 8443:9999 --rm -t mendhak/http-https-echo:17
38+ docker run -e HTTP_PORT=8888 -e HTTPS_PORT=9999 -p 8080:8888 -p 8443:9999 --rm -t mendhak/http-https-echo:18
3939
4040
4141With docker compose, this would be:
4242
4343 my-http-listener:
44- image: mendhak/http-https-echo:17
44+ image: mendhak/http-https-echo:18
4545 environment:
4646 - HTTP_PORT=8888
4747 - HTTPS_PORT=9999
@@ -55,7 +55,7 @@ With docker compose, this would be:
5555Use volume mounting to substitute the certificate and private key with your own. This example uses the snakeoil cert.
5656
5757 my-http-listener:
58- image: mendhak/http-https-echo:17
58+ image: mendhak/http-https-echo:18
5959 ports:
6060 - "8080:8080"
6161 - "8443:8443"
@@ -69,7 +69,7 @@ Use volume mounting to substitute the certificate and private key with your own.
6969
7070If you specify the header that contains the JWT, the echo output will contain the decoded JWT. Use the ` JWT_HEADER ` environment variable for this.
7171
72- docker run -e JWT_HEADER=Authentication -p 8080:8080 -p 8443:8443 --rm -it mendhak/http-https-echo:17
72+ docker run -e JWT_HEADER=Authentication -p 8080:8080 -p 8443:8443 --rm -it mendhak/http-https-echo:18
7373
7474
7575Now make your request with ` Authentication: eyJ... ` header (it should also work with the ` Authentication: Bearer eyJ... ` schema too):
@@ -83,13 +83,13 @@ And in the output you should see a `jwt` section.
8383Set the environment variable ` LOG_IGNORE_PATH ` to a path you would like to exclude from verbose logging to stdout.
8484This can help reduce noise from healthchecks in orchestration/infrastructure like Swarm, Kubernetes, ALBs, etc.
8585
86- docker run -e LOG_IGNORE_PATH=/ping -p 8080:8080 -p 8443:8443 --rm -t mendhak/http-https-echo:17
86+ docker run -e LOG_IGNORE_PATH=/ping -p 8080:8080 -p 8443:8443 --rm -t mendhak/http-https-echo:18
8787
8888
8989With docker compose, this would be:
9090
9191 my-http-listener:
92- image: mendhak/http-https-echo:17
92+ image: mendhak/http-https-echo:18
9393 environment:
9494 - LOG_IGNORE_PATH=/ping
9595 ports:
0 commit comments