Ruby on Rails
Repository: railwayapp-templates/ruby-rails@main
- Port 3000/http
- Public domain with TLS
- 0.5 vCPU · 1 GB
bundle exec rails db:prepare && bundle exec rails server -b 0.0.0.0 -p $PORT
Template · App starters
Rails starter with a PostgreSQL database.
Opens the dashboard with this template pre-selected. Sign in with GitHub if you are new; the free tier needs no card.
2 services in the environment you pick, on the private network of the project.
Deploys railwayapp-templates/ruby-rails with Railpack. Fork it to make it yours — every push to your fork redeploys.
Repository: railwayapp-templates/ruby-rails@main
bundle exec rails db:prepare && bundle exec rails server -b 0.0.0.0 -p $PORT
Image: postgres:17
Generated secrets never leave the platform; references are resolved on the private network. Anything marked required is asked for at deploy time.
| Name | Value |
|---|---|
| DATABASE_URL | ${{Postgres.DATABASE_URL}} |
| SECRET_KEY_BASE | generated (hex64) |
| RAILS_ENV | production |
| RAILS_LOG_TO_STDOUT | true |
| RAILS_SERVE_STATIC_FILES | true |
| Name | Value |
|---|---|
| POSTGRES_USER | postgresSuperuser name |
| POSTGRES_PASSWORD | generated (password)Generated at deploy |
| POSTGRES_DB | appDatabase created on first start |
| PGDATA | /var/lib/postgresql/data/pgdata |
| DATABASE_URL | postgresql://${{self.POSTGRES_USER}}:${{self.POSTGRES_PASSWORD}}@${{self.SKIFFLY_PRIVATE_DOMAIN}}:5432/${{self.POSTGRES_DB}}Connection string on the private network |
Volumes, secrets and domain pre-wired. Runs on EU nodes, paid per minute from a prepaid balance.