Sign inSign up

chenglong/simple-node

By chenglong

•Updated over 10 years ago

A simple Node image that uses redis

Image
0

6.1K

chenglong/simple-node repository overview

⁠Simple Node

This is a simple Node.js app which uses redis as backend. It displays the hostname of the container who serves the request and how many times the page has been visited.

alt tag

⁠Usage
  1. You need to have redis running on port 6379 and discoverable as 'redis'. For example, you can start redis by
docker run -d -p 6379:6379 --name redis redis
  1. Run this image
docker run -d -p 80:8080 --link redis:redis chenglong/simple-node
  1. Test
curl <HOST_IP>

Tag summary

Content type

Image

Digest

Size

79.3 MB

Last updated

over 10 years ago

docker pull chenglong/simple-node