@@ -18,7 +18,7 @@ Please do not use the `:latest` tag as it will break without warning, use a spec
18
18
19
19
Run with Docker
20
20
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
22
22
23
23
Or run with Docker Compose
24
24
@@ -35,13 +35,13 @@ You can choose a different internal port instead of 8080 and 8443 with the `HTTP
35
35
36
36
In this example I'm setting http to listen on 8888, and https to listen on 9999.
37
37
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
39
39
40
40
41
41
With docker compose, this would be:
42
42
43
43
my-http-listener:
44
- image: mendhak/http-https-echo:17
44
+ image: mendhak/http-https-echo:18
45
45
environment:
46
46
- HTTP_PORT=8888
47
47
- HTTPS_PORT=9999
@@ -55,7 +55,7 @@ With docker compose, this would be:
55
55
Use volume mounting to substitute the certificate and private key with your own. This example uses the snakeoil cert.
56
56
57
57
my-http-listener:
58
- image: mendhak/http-https-echo:17
58
+ image: mendhak/http-https-echo:18
59
59
ports:
60
60
- "8080:8080"
61
61
- "8443:8443"
@@ -69,7 +69,7 @@ Use volume mounting to substitute the certificate and private key with your own.
69
69
70
70
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.
71
71
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
73
73
74
74
75
75
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.
83
83
Set the environment variable ` LOG_IGNORE_PATH ` to a path you would like to exclude from verbose logging to stdout.
84
84
This can help reduce noise from healthchecks in orchestration/infrastructure like Swarm, Kubernetes, ALBs, etc.
85
85
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
87
87
88
88
89
89
With docker compose, this would be:
90
90
91
91
my-http-listener:
92
- image: mendhak/http-https-echo:17
92
+ image: mendhak/http-https-echo:18
93
93
environment:
94
94
- LOG_IGNORE_PATH=/ping
95
95
ports:
0 commit comments