Skip to content

Simplified Heroku deployment#32

Draft
palkan wants to merge 14 commits intodemo/dockerlessfrom
demo/heroku-simple
Draft

Simplified Heroku deployment#32
palkan wants to merge 14 commits intodemo/dockerlessfrom
demo/heroku-simple

Conversation

@palkan
Copy link
Copy Markdown
Member

@palkan palkan commented Jul 6, 2023

Description

This PR contains the required changes to add AnyCable to a Rails app running on Heroku with RPC over HTTP. In this setup, AnyCable-Go can be deployed independently as a standalone service (compared to previous version with a combined RPC-WS app, see #4).

Based on the official guide.

NOTE: This PR's branched out from the dockerless version (#1).

Changes

  • Added base Heroku Procfile.
  • Enabled HTTP RPC (by setting http_rpc_mount_path in the anycable.yml)
  • Configured session cookies.
  • Added heroku.yml and a corresponding Dockerfile to the repo.

Irrelevant:

  • Configured Litestream to persiste sqlite database on Heroku

@palkan palkan added the demo Demo branch PR label Jul 6, 2023
@palkan palkan force-pushed the demo/dockerless branch from 19e420a to 711e54c Compare April 3, 2024 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

demo Demo branch PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant