#!/bin/bash PARAMS="$@" CMD="cd /src && RAILS_ENV=${RAILS_ENV:=development} bundle exec sidekiq -q critical,low,default" docker exec -it -u discourse:discourse discourse_dev /bin/bash -c "$CMD"