タグ

RubyとKamalに関するYassLabのブックマーク (4)

  • RailsとPostgreSQLのアプリをKamalでVPSにデプロイ

    はじめに KamalはRailsの作者であるDHHが開発したデプロイ自動化ツールです。Capistranoがサーバーに直接ソースコードをデプロイするのに対して、KamalはDockerコンテナを活用してアプリケーション環境ごとデプロイします。 37signals社はKamalを利用してクラウドからの移行を進めて、ランニングコストの大幅な削減をしたそうです。少し古い話にはなりますが、DropboxがAWSから自社データセンターに移行して、収益性を改善した話が思い出されます。ちょうど私がRailsアプリを開発してリリースすることがあったので、その運用にKamalを利用してみることにしました。 RailsとPostgreSQLはよくある構成だと思うのですが、意外と情報が見つからなかったです。 Kamal’s missing tutorial – how to deploy a Rails 8 a

    RailsとPostgreSQLのアプリをKamalでVPSにデプロイ
    YassLab
    YassLab 2025/09/22
    “最近は円安でクラウドの課金が厳しくなってきたり、ユーザーが増えてくるとクラウドの課金額が想定外に増えたりしています。工数と課金のバランスを考えて、VPSとKamalの導入を進めていきたい”
  • Rails World 2025 Opening Keynote - David Heinemeier Hansson

    At the Rails World 2025 Opening Keynote in Amsterdam, Ruby on Rails creator David Heinemeier Hansson announced Rails 8.1 beta, Active Job Continuations, Markdown Rendering, Local CI, Action Text Lexxy, Beamer, Active Record Tenating, Kamal Geo Proxy, booted up a new Framework laptop to install the Omarchy OS and launch a Rails app (all in 6 minutes), before closing with a call to fully own every p

    Rails World 2025 Opening Keynote - David Heinemeier Hansson
    YassLab
    YassLab 2025/09/07
    “The common explanation for this is we're being conned by merchants of complexity. ... / I don't actually think that's the problem. I do think they're merchants of complexity. I do think most of the companies I mentioned before are merchants of complexity. Then they love to sell you ”
  • Fly.io ❤️ Kamal

    Deploying is pretty much the same experience as with Fly.io. Type one command, watch output scroll by as your Dockerfile is being built, uploaded to a registry, and then pulled down, and then your ENTRYPOINT and CMD are executed on the new container. It is not as pretty (we do pty and ANSI cursor right - kamal simply scrolls), but the end result is the same. I’ll likely build shell aliases (or mor

    Fly.io ❤️ Kamal
    YassLab
    YassLab 2024/04/26
    “The proof is real: it is a demonstrable fact that Fly.io and Kamal can use the same Dockerfile, and that the configuration files can sit side-by-side in the same repo. ... / And you can even run both simultaneously, as I am now doing. The future for Dockerfile based deployments is bright.”
  • Kamal Handbook

    YassLab
    YassLab 2024/03/28
    "First, we explain what Kamal is, look how Kamals works on the surface, and go through the first deploy. Then we'll dive more into Kamal's server configuration and use the new knowledge for deploying 2 more complex examples. At last we have a look on logging, debugging, CI/CD, and handling backups."
  • 1