This docker image will start a node.js webserver with the following routes:
GET /heartbeat - can be used as a health check with a load balancer (i.e. AWS ALB) to verify the service is still up and running. GET /current - returns a JSON document with the current BTC, BCH, ETH, and LTC prices from Coinbase GET /current/BTC - returns a JSON document with the current BTC prices from Coinbase GET /current/BCH - returns a JSON document with the current BCH prices from Coinbase GET /current/ETH - returns a JSON document with the current ETH prices from Coinbase GET /current/LTC - returns a JSON document with the current LTC prices from Coinbase
docker run \
-e PORT=... \
wonderlic/crypto-api
If not set:
Content type
Image
Digest
Size
18.9 MB
Last updated
almost 9 years ago
docker pull wonderlic/crypto-api