discourse/bin/docker/sidekiq

6 lines
229 B
Bash
Executable File

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