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

Change heroku deployment to use the dockerfile #772

Merged
merged 1 commit into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
/public/assets
/spec/tmp
/storage
/tmp
/tmp/*
/tmp/pids/*
!/tmp/pids/
!/tmp/pids/.keep
/vendor/bundle
/yarn-error.log
capybara-*.html
Expand Down
13 changes: 13 additions & 0 deletions heroku.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
setup:
addons:
- plan: heroku-postgresql
as: DATABASE
axelpontetto marked this conversation as resolved.
Show resolved Hide resolved
build:
docker:
web: Dockerfile
run:
web: bundle exec puma -C config/puma.rb
worker:
command:
- ./bin/delayed_job start
image: web
Empty file added tmp/pids/.keep
Empty file.