Skip to content

Commit

Permalink
Merge pull request #679 from cul-it/container-script-fix
Browse files Browse the repository at this point in the history
Set correct environment when starting sidekiq on containers
  • Loading branch information
chrisrlc authored Sep 25, 2024
2 parents 36a2541 + e394529 commit 3ff0ad5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/puma.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ sh ./docker/db_prepare.sh
exec "$@"

# Start sidekiq
bundle exec sidekiq -d -L log/sidekiq.log -e development
bundle exec sidekiq -L log/sidekiq.log -e $RAILS_ENV -C config/sidekiq.yml -d

# Start the web server
mkdir -p ./tmp/pids
bundle exec puma -C config/puma.rb
bundle exec puma -C config/puma.rb -e $RAILS_ENV

0 comments on commit 3ff0ad5

Please sign in to comment.