8000 GitHub - jurikolo/Docker-ex1: A sample Docker workflow with Nginx, Node.js and Redis
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jurikolo/Docker-ex1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A sample Docker workflow with Nginx, Node.js and Redis

This repo is based on Fedora Cloud (https://hub.docker.com/r/fedora) and ANAND MANI SANKAR works

What's used:

How to build:

  • NodeJS: docker build --rm -t jurikolo/fedoranodejs .
  • Nginx: docker build --rm -t jurikolo/fedoranginx .
  • Redis: docker build --rm -t jurikolo/fedoraredis .

How to run (follow exactly this sequence):

  • Redis: docker run -d --name redis -p 6379:6379 jurikolo/fedoraredis
  • NodeJS1: docker run -d --name node1 -p 8080 --link redis:redis jurikolo/fedoranodejs
  • NodeJS2: docker run -d --name node2 -p 8080 --link redis:redis jurikolo/fedoranodejs
  • NodeJS3: docker run -d --name node3 -p 8080 --link redis:redis jurikolo/fedoranodejs
  • Nginx: docker run -d --name nginx -p 80:80 --link node1:node1 --link node2:node2 --link node3:node3 jurikolo/fedoranginx

About

A sample Docker workflow with Nginx, Node.js and Redis

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 58.4%
  • Nginx 41.6%
0