Skip to content

Commit

Permalink
Try adding in a Procfile as recommended by a user in the dokku slack
Browse files Browse the repository at this point in the history
  • Loading branch information
hebron-george committed Sep 2, 2024
1 parent a811bbf commit c2e81b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ EXPOSE 3000
CMD ["./bin/rails", "server"]

# Uncomment the following line if you want to run Sidekiq by default
CMD ["bundle", "exec", "sidekiq", "-C", "config/sidekiq.yml"]
# CMD ["bundle", "exec", "sidekiq", "-C", "config/sidekiq.yml"]
3 changes: 3 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
web: bundle exec puma -C config/puma.rb
worker: bundle exec sidekiq -C config/sidekiq.yml
release: bundle exec rails db:migrate

0 comments on commit c2e81b4

Please sign in to comment.