Skip to content

kontena/rails5-demo

Repository files navigation

Rails on Kontena

Usage

  1. Setup Kontena: Quick Start

  2. Write secrets to Kontena Vault

$ kontena vault write POSTGRE_PASSWORD <password>

$ kontena vault write RAILS_SECRET_KEY_BASE <key_base>

$ kontena vault write RAILS_GITHUB_CLIENT_ID <client_id>

$ kontena vault write RAILS_GITHUB_CLIENT_SECRET <client_secret>

$ kontena vault write RAILS_GITHUB_TOKEN <access_token>

$ kontena vault write RAILS_POSTGRE_URL <postgres_url>

  1. Deploy app

$ kontena app deploy

About Kontena

Kontena is a new open source Docker platform including orchestration, service discovery, overlay networking and all the tools required to run your containerized workloads. Kontena is built to maximize developer happiness. It works on any cloud, it's easy to setup and super simple to use. Give it a try! If you like it, please star it on GitHub and follow us on Twitter!