S. Architecture
33 views | +0 today
Follow
Your new post is loading...
Your new post is loading...
Rescooped by David Kim from Docker
Scoop.it!

Vagrant with Docker: How to set up Postgres, Elasticsearch and Redis on Mac OS X

Vagrant with Docker: How to set up Postgres, Elasticsearch and Redis on Mac OS X | S. Architecture | Scoop.it
After some time spent looking at Docker from afar, hearing everyone talk about how awesome it is and how all the cool kids are already using it. I decided to test drive Docker out by using it in my development environment. In this post I will describe how to set up Postgres, Elasticsearch, and Redis as Docker containers with Vagrant on Mac OS X.

Via Docker
more...
No comment yet.
Rescooped by David Kim from Programming Stuffs
Scoop.it!

How to create a Docker + Node.js + MongoDB + Varnish environment

How to create a Docker + Node.js + MongoDB + Varnish environment | S. Architecture | Scoop.it

I started learning Docker.io over the weekend and I must say that it's really cool, unfortunatelly, this is still a new project and you don't find lots of documentation and tutorials online. At first, I struggled a little to do what I'm gonna show you, but here's the whole explanation so you don't have to. We're going to create a simple blog application written in Node.js running on a MongoDB database with a Varnish Load Balancer (covered on a different post) on top of the Node.js instances. We're going to use Docker and I strongly recommend to use Vagrant too, so you don't mess around too much with your host. In this tutorial, I won't cover installing Docker or the basics, since there's enough of that out there.

First we need to create a new directory, in this directory I'll download 3 Git projects:
A simple Blog application made with Node.js and Express.js MVC
The Docker Node.js image
The Docker MongoDB image

After you download everything, you can take a look at the Dockerfiles, I'll explain a little what are they doing and how to run them.


Via Alex Kantone
more...
No comment yet.