Sign inSign up

alnyli07/echoserver

By alnyli07

•Updated over 6 years ago

echoserver from https://github.com/3scale/echo-api for none-root user

Image
0

200

alnyli07/echoserver repository overview

echoserver from https://github.com/3scale/echo-api⁠ for none-root user

You can deploy with https://github.com/3scale/echo-api/raw/master/openshift/echo-api-template.yml⁠ file by changing image name.

⁠Example

$ docker run -it -p 8080:9292 alnyli07/echoserver:latest

Puma starting in single mode...
* Version 4.3.3 (ruby 2.6.3-p62), codename: Mysterious Traveller
* Min threads: 0, max threads: 16
* Environment: development
* Listening on tcp://0.0.0.0:9292
Use Ctrl-C to stop

http://localhost:8080/test⁠

{
method: "GET",
path: "/test",
args: "",
body: "",
headers: {
HTTP_VERSION: "HTTP/1.1",
HTTP_HOST: "localhost:8080",
HTTP_CONNECTION: "keep-alive",
HTTP_UPGRADE_INSECURE_REQUESTS: "1",
HTTP_USER_AGENT: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.92 Safari/537.36",
HTTP_ACCEPT: "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
HTTP_SEC_FETCH_SITE: "none",
HTTP_SEC_FETCH_MODE: "navigate",
HTTP_SEC_FETCH_USER: "?1",
HTTP_SEC_FETCH_DEST: "document",
HTTP_ACCEPT_ENCODING: "gzip, deflate, br",
HTTP_ACCEPT_LANGUAGE: "tr-TR,tr;q=0.9,en-US;q=0.8,en;q=0.7,pl;q=0.6",
HTTP_COOKIE: "_ga=GA1.1.1602156836.1565329736; mp_147243bbe9b5722ae0a0c4c68c142ef5_mixpanel=%7B%22distinct_id%22%3A%20%22unknown%40smartface.io%22%2C%22%24device_id%22%3A%20%2216c74ec3f533b5-00dbfbbc3c876f-30760d58-1fa400-16c74ec3f54e31%22%2C%22%24user_id%22%3A%20%22unknown%40smartface.io%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%7D"
},
uuid: "b4484768-1a5d-48d2-9529-b8529fa89922"
}

Tag summary

Content type

Image

Digest

Size

301.8 MB

Last updated

over 6 years ago

docker pull alnyli07/echoserver