Skip to content

Commit 46571fe

Browse files
committed
Update version to 18 and include changelog
1 parent b101a4a commit 46571fe

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## Version `18` - 2021-02-26
2+
3+
* You can pass a `x-set-response-delay-ms` to set a custom delay in milliseconds.
4+
15
## Version `17` - 2021-01-15
26

37
* You can pass a `x-set-response-status-code` header to set the response status code

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Please do not use the `:latest` tag as it will break without warning, use a spec
1818

1919
Run 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

2323
Or 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

3636
In 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

4141
With 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:
5555
Use 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

7070
If 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

7575
Now 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.
8383
Set the environment variable `LOG_IGNORE_PATH` to a path you would like to exclude from verbose logging to stdout.
8484
This 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

8989
With 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:

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
my-http-listener:
2-
image: mendhak/http-https-echo:17
2+
image: mendhak/http-https-echo:18
33
environment:
44
- HTTP_PORT=8888
55
- HTTPS_PORT=9999

0 commit comments

Comments
 (0)