Skip to content

Commit

Permalink
deploy: add heroku artefacts
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Jul 6, 2023
1 parent 1ba01d3 commit 4ee1b9a
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .docker/Dockerfile.heroku
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ARG ANYCABLE_GO_TAG=latest

FROM anycable/anycable-go:$ANYCABLE_GO_TAG
LABEL maintainer="Vladimir Dementyev <[email protected]>"
20 changes: 20 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "anycable-go",
"description": "Performant and feature-rich WebSocket server for Rails and Ruby applications.",
"keywords": ["websockets", "rails", "hotwire"],
"repository": "https://github.com/anycable/anycable-go",
"logo": "https://docs.anycable.io/assets/images/logo.svg",
"stack": "container",
"env": {
"ANYCABLE_RPC_IMPL": {
"description": "RPC implementation (use HTTP for simplified Heroku deployments)",
"value": "http",
"required": false
},
"ANYCABLE_RPC_HOST": {
"description": "URL of the HTTP RPC embedded into your web application",
"value": "http",
"required": false
}
}
}
5 changes: 5 additions & 0 deletions heroku.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
build:
config:
ANYCABLE_GO_TAG: latest
docker:
web: .docker/Dockerfile.heroku

0 comments on commit 4ee1b9a

Please sign in to comment.