<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for michiels</title><link>https://disqus.com/by/michiels/</link><description></description><atom:link href="https://disqus.com/michiels/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 16 Dec 2014 10:48:35 -0000</lastBuildDate><item><title>Re: How I deploy a Rails app using Docker</title><link>https://intercityup.com/blog/deploy-rails-app-including-database-configuration-env-vars-assets-using-docker/#comment-1745092687</link><description>&lt;p&gt;Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Tue, 16 Dec 2014 10:48:35 -0000</pubDate></item><item><title>Re: A quick write-up of Docker Conf Europe Day 1</title><link>https://intercityup.com/blog/quick-write-docker-conf-europe-day-1/#comment-1726857105</link><description>&lt;p&gt;Whoops! Fixing ;)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Fri, 05 Dec 2014 04:13:35 -0000</pubDate></item><item><title>Re: How I deploy a Rails app using Docker</title><link>https://intercityup.com/blog/deploy-rails-app-including-database-configuration-env-vars-assets-using-docker/#comment-1659204031</link><description>&lt;p&gt;Hey Jan,&lt;/p&gt;&lt;p&gt;Yes definitely. But with linking you assume that your MySQL container is on the same host of Nginx. With this sample that is of course the case but I'd like the possibility to scale my DB separately from my application server. Setting up a MySQL server in Docker gives it's own troubles so I left that out for this sample. We're working on a best practice to put those things together so stay tuned :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Wed, 29 Oct 2014 10:00:26 -0000</pubDate></item><item><title>Re: Running a WordPress blog and a Rails application on the same URL on the same server</title><link>https://intercityup.com/blog/running-a-wordpress-blog-and-a-rails-application-on-the-same-url-on-the-same-server/#comment-1659200534</link><description>&lt;p&gt;Hey sandeep,&lt;/p&gt;&lt;p&gt;Sorry for late response. You'll need to run nginx to do this. And nginx should use something like Phusion Passenger or Unicorn to run your Rails app.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Wed, 29 Oct 2014 09:58:03 -0000</pubDate></item><item><title>Re: Allowing long-running Sidekiq jobs to finish when deploying</title><link>https://intercityup.com/blog/allowing-long-running-sidekiq-jobs-finish-deploying/#comment-1643999857</link><description>&lt;p&gt;Thanks for the comment! Good point about the procs.&lt;/p&gt;&lt;p&gt;And wow, didn't know about the sidekiq_run_in_background setting. I will add it to this blog post and our own Capistrano configuration. Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Sun, 19 Oct 2014 19:35:36 -0000</pubDate></item><item><title>Re: How I deploy a Rails app using Docker</title><link>https://intercityup.com/blog/deploy-rails-app-including-database-configuration-env-vars-assets-using-docker/#comment-1616468679</link><description>&lt;p&gt;Hi Robert. Good question. I think it's the only way to have one host (or container) to connect to your MySQL. In MySQL, you should add permissions to users based on the host and you can also add a firewall to block MySQL traffic from all hosts except some IP addresses.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Thu, 02 Oct 2014 10:33:27 -0000</pubDate></item><item><title>Re: How I deploy a Rails app using Docker</title><link>https://intercityup.com/blog/deploy-rails-app-including-database-configuration-env-vars-assets-using-docker/#comment-1605742245</link><description>&lt;p&gt;Yes! Finally ;)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Thu, 25 Sep 2014 16:00:52 -0000</pubDate></item><item><title>Re: How I deploy a Rails app using Docker</title><link>https://intercityup.com/blog/deploy-rails-app-including-database-configuration-env-vars-assets-using-docker/#comment-1605741718</link><description>&lt;p&gt;Ah right! I forgot. Will update this in a next post. Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Thu, 25 Sep 2014 16:00:30 -0000</pubDate></item><item><title>Re: How I deploy a Rails app using Docker</title><link>https://intercityup.com/blog/deploy-rails-app-including-database-configuration-env-vars-assets-using-docker/#comment-1605135965</link><description>&lt;p&gt;Hey Benjamin. Thanks!&lt;/p&gt;&lt;p&gt;- We're currently using Chef to orchestrate our servers but we'll look into Ansible too.&lt;br&gt;- I think your approach makes sense and I'm going to try it out. The problem I have is that you won't be able to do zero downtime deploys on a per-app or per-user basis. You'll have to reload your nginx configuration as root, or you need to put up another middleman that the deploy user is able to reload itself. But, I agree with you that it is essentially as you mention. Another alternative is to always have 2 ports in your nginx configuration, and fail-over to the next one if the other one fails.&lt;br&gt;- Good suggestion about storing them per app in a file. Didn't know about --env-file. Thanks for the tip.&lt;br&gt;- I've tried to use the RUN cache in another prototype. This didn't work because it also looks at the created and modified times. Because I re-tar my code and extract it on the server, the timestamps always change. This way Docker does not cache the Gemfile, even if the contents is the same. Probably must be a solution for this. Is this something your links provide?&lt;/p&gt;&lt;p&gt;Thanks for your advice and pointers and we're going to take a look at them!&lt;/p&gt;&lt;p&gt;Michiel&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Thu, 25 Sep 2014 09:26:28 -0000</pubDate></item><item><title>Re: How I deploy a Rails app using Docker</title><link>https://intercityup.com/blog/deploy-rails-app-including-database-configuration-env-vars-assets-using-docker/#comment-1604856735</link><description>&lt;p&gt;Good point. Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Thu, 25 Sep 2014 03:11:54 -0000</pubDate></item><item><title>Re: How I deploy a Rails app using Docker</title><link>https://intercityup.com/blog/deploy-rails-app-including-database-configuration-env-vars-assets-using-docker/#comment-1604812070</link><description>&lt;p&gt;That is great! Would this also allow to bash into your running container instead of shipping it with ssh?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Thu, 25 Sep 2014 02:08:30 -0000</pubDate></item><item><title>Re: How I deploy a Rails app using Docker</title><link>https://intercityup.com/blog/deploy-rails-app-including-database-configuration-env-vars-assets-using-docker/#comment-1604340047</link><description>&lt;p&gt;I'm glad this post is helpful. Thanks!&lt;/p&gt;&lt;p&gt;Good to know that there are more people with the same issues as we've experienced so far. It's also one of the reasons were still just using chef and capistrano to deploy our apps. Would be good to develop some best practice so everyone just "knows" how to deploy rails apps with docker.&lt;/p&gt;&lt;p&gt;Keep your eye out for the next blog posts! We're going to figure it out and share how we did it. If you want you can sign up for the mailing list at &lt;a href="https://intercityup.com/blog" rel="nofollow noopener" target="_blank" title="https://intercityup.com/blog"&gt;https://intercityup.com/blog&lt;/a&gt; to receive an automatic notification.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Wed, 24 Sep 2014 18:06:21 -0000</pubDate></item><item><title>Re: How I deploy a Rails app using Docker</title><link>https://intercityup.com/blog/deploy-rails-app-including-database-configuration-env-vars-assets-using-docker/#comment-1604321333</link><description>&lt;p&gt;Yes! This is the exact method I used in this post. Run a "docker run rake db:migrate" (or db:setup) to migrate the database and then run your container with the default command that will start nginx, passenger and your rails app.&lt;/p&gt;&lt;p&gt;This way you can also run extra services or things like the rails console.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Wed, 24 Sep 2014 17:56:42 -0000</pubDate></item><item><title>Re: How I deploy a Rails app using Docker</title><link>https://intercityup.com/blog/deploy-rails-app-including-database-configuration-env-vars-assets-using-docker/#comment-1602888402</link><description>&lt;p&gt;Thanks! Good to hear this post helps you. By the way. Is it possible that I could ask you some questions about your hosting needs? Do you have an email where I could reach you?&lt;/p&gt;&lt;p&gt;If you have questions about the setup in this post please let me know :) my email is michiel@firmhouse.com&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Tue, 23 Sep 2014 20:06:03 -0000</pubDate></item><item><title>Re: Deploying app ENV variables with Rbenv, Passenger and Capistrano</title><link>https://intercityup.com/blog/deploying-app-env-variables-with-rbenv-passenger-and-capistrano/#comment-1590478362</link><description>&lt;p&gt;Hi! Good question! We install it under /opt/rbenv using a tool called Chef (&lt;a href="http://getchef.com" rel="nofollow noopener" target="_blank" title="http://getchef.com"&gt;http://getchef.com&lt;/a&gt;). There is a community of people around Chef that write cookbooks. One of those cookbooks is the "rbenv" cookbook. In there is a script that downloads and installs our rbenv installs. I'll try to do a better guide one time.&lt;/p&gt;&lt;p&gt;For now: are you looking for a guide to manually install rbenv into /opt/rbenv? If you want, I can write a quick Gist or blog post for you on how to do that. Let me know!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Mon, 15 Sep 2014 16:57:07 -0000</pubDate></item><item><title>Re: Deploying app ENV variables with Rbenv, Passenger and Capistrano</title><link>https://intercityup.com/blog/deploying-app-env-variables-with-rbenv-passenger-and-capistrano/#comment-1498015938</link><description>&lt;p&gt;@Bruno Sutic Oh wow. I totally missed this comment. I'll try to read up on the capistrano user list. For now:&lt;/p&gt;&lt;p&gt;Yes I keep it checked in, because I use ENV-variables inside the secrets.yml file to load it up on the server. This is what is described in this blog post. So you don't keep secrets in the file itself, you load them from ENV that you can fill with an .rbenv-vars file.&lt;/p&gt;&lt;p&gt;Does this answer your question?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Tue, 22 Jul 2014 11:20:22 -0000</pubDate></item><item><title>Re: A perfect minimal Capistrano deploy.rb for Rails and Unicorn with rolling restarts</title><link>https://intercityup.com/blog/a-perfect-minimal-capistrano-deploy-rb-for-rails-and-unicorn-with-rolling-restarts/#comment-1410079540</link><description>&lt;p&gt;Hey Daniël. That is odd. Do you see the processes actually restart on your server?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Thu, 29 May 2014 10:37:58 -0000</pubDate></item><item><title>Re: Configuring multiple private SSH deploy keys in Jenkins for GitHub.com — Firmhouse Blog</title><link>http://blog.firmhouse.com/configuring-multiple-private-ssh-deploy-keys-in-jenkins-for-github-com#comment-1243972531</link><description>&lt;p&gt;@Duke A beer at any given time is always nice :) I could use your help on a little bit of research we are conducting about developing and hosting apps. Would you like to answer some questions for us?&lt;/p&gt;&lt;p&gt;If so, please email me: michiel@firmhouse.com&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Fri, 14 Feb 2014 07:50:47 -0000</pubDate></item><item><title>Re: Configuring multiple private SSH deploy keys in Jenkins for GitHub.com — Firmhouse Blog</title><link>http://blog.firmhouse.com/configuring-multiple-private-ssh-deploy-keys-in-jenkins-for-github-com#comment-1242357830</link><description>&lt;p&gt;You are welcome, Sir. :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Thu, 13 Feb 2014 03:11:49 -0000</pubDate></item><item><title>Re: How we manage our Rails servers and set up deployments</title><link>http://blog.firmhouse.com/how-we-manage-our-rails-servers-and-set-up-deployments#comment-1218815420</link><description>&lt;p&gt;Hi Lara! I'll write a new blog post to set this up! Michiel&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Mon, 27 Jan 2014 10:55:37 -0000</pubDate></item><item><title>Re: How we manage our Rails servers and set up deployments</title><link>http://blog.firmhouse.com/how-we-manage-our-rails-servers-and-set-up-deployments#comment-1218814966</link><description>&lt;p&gt;Hey Benedict,&lt;/p&gt;&lt;p&gt;You can use Capistrano multistage for this. For usage with Capistrano 2.x, I hope you can find some information here: &lt;a href="https://github.com/capistrano/capistrano/wiki/2.x-Multistage-Extension" rel="nofollow noopener" target="_blank" title="https://github.com/capistrano/capistrano/wiki/2.x-Multistage-Extension"&gt;https://github.com/capistra...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I'm going to write a blog post for setting this up!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Mon, 27 Jan 2014 10:55:22 -0000</pubDate></item><item><title>Re: How we manage our Rails servers and set up deployments</title><link>http://blog.firmhouse.com/how-we-manage-our-rails-servers-and-set-up-deployments#comment-1215660282</link><description>&lt;p&gt;Thanks! When you want to add multiple environments for the same app. Just add them as separate apps and set the correct Rails environment. You can add any environment for any app for this! We use this as well.&lt;/p&gt;&lt;p&gt;If you need help or more instructions: let me know!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Fri, 24 Jan 2014 19:15:42 -0000</pubDate></item><item><title>Re: How we manage our Rails servers and set up deployments</title><link>http://blog.firmhouse.com/how-we-manage-our-rails-servers-and-set-up-deployments#comment-1215658128</link><description>&lt;p&gt;Thanks for the kind words. Let me know if I can help with something.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Fri, 24 Jan 2014 19:13:16 -0000</pubDate></item><item><title>Re: Intercity Preview: Installing my server to run Ruby on Rails</title><link>http://blog.firmhouse.com/intercity-preview-installing-my-server-to-run-ruby-on-rails#comment-1181636907</link><description>&lt;p&gt;Thanks Alexander!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Mon, 30 Dec 2013 16:20:11 -0000</pubDate></item><item><title>Re: Fancy money entry for your Rails app with autoNumeric and MoneyRails</title><link>http://blog.firmhouse.com/fancy-money-entry-for-your-rails-app-with-autonumeric-and-moneyrails#comment-1135107801</link><description>&lt;p&gt;Thank you for your enthusiasm Jarni ;)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michiel Sikkes</dc:creator><pubDate>Fri, 22 Nov 2013 18:02:50 -0000</pubDate></item></channel></rss>