<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>DevOps - Ruby on Rails - Docker on DevOps and application security enthusiast's notes</title><link>https://erudinsky.com/categories/devops---ruby-on-rails---docker/</link><description>Recent content in DevOps - Ruby on Rails - Docker on DevOps and application security enthusiast's notes</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Mon, 15 May 2017 07:00:00 +0100</lastBuildDate><atom:link href="https://erudinsky.com/categories/devops---ruby-on-rails---docker/index.xml" rel="self" type="application/rss+xml"/><item><title>How to Run Rails App With Postgres Puma and Nginx in Docker</title><link>https://erudinsky.com/2017/05/15/how-to-run-rails-app-with-postgres-puma-and-nginx-in-docker/</link><pubDate>Mon, 15 May 2017 07:00:00 +0100</pubDate><guid>https://erudinsky.com/2017/05/15/how-to-run-rails-app-with-postgres-puma-and-nginx-in-docker/</guid><description>&lt;p&gt;I would probably need to start this post with &amp;ldquo;why?&amp;rdquo; entry, however I leave it for other &lt;a href="https://medium.com/@nagarwal/why-use-docker-for-development-f3d1d1b61b05"&gt;nice&lt;/a&gt; &lt;a href="https://medium.com/travis-on-docker/why-and-how-to-use-docker-for-development-a156c1de3b24"&gt;articles&lt;/a&gt; around this topic. I recently moved all my development from local environment (mac) to containers and have moved this web-site in production to containers (3 containers) with AmazonEC2 driver for docker-machine. This post contains boilerplates for Rails, PostgreSQL, nginx and some other configuration parts. I will be using Docker Compose.&lt;/p&gt;
&lt;h2 id="install-docker-on-mac"&gt;Install Docker on mac &lt;a class="heading-anchor" href="#install-docker-on-mac" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;I don&amp;rsquo;t think this needs to be explain since you can &lt;a href="https://docs.docker.com/docker-for-mac/install/"&gt;check this&lt;/a&gt; and it&amp;rsquo;s done in 2 minutes. If you do Docker for other operation system, check the same link, there are options for Windows and Linux environments. I would move to the next step once you have the below outputs as well (versions might be slightly different since they are rolling out updates frequently):&lt;/p&gt;</description></item></channel></rss>