Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplified Heroku deployment #32

Draft
wants to merge 14 commits into
base: demo/dockerless
Choose a base branch
from
Draft

Conversation

palkan
Copy link
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