Skip to content

coderclub-dev/whoaminode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Who am I, Go?

Simple HTTP project written in Node

See other Who am I? options

Docker

Build Docker image

$ docker build -t marcopollivier/whoami:node-latest .

or Download the Docker Image

Push Docker Image

$ docker push marcopollivier/whoami:node-latest

Run Docker container

$ docker run --name whoami_go -d -p 8082:8082 marcopollivier/whoami:node-latest

API REST

Response

  • me: hostname (container ID for example)
  • timestamp: execution start time
{
  "me": "RJ-MB2680.lan",
  "timestamp": "2019-02-12T10:00:00.000Z"
}

Releases

No releases published

Packages

No packages published