2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

add wrappers for mailcatcher and sidekiq

add symlink to simplify invoking docker commands `d/rake`
This commit is contained in:
Sam 2016-12-13 09:05:45 +11:00
parent 600541c623
commit 97e2a614c8
4 changed files with 11 additions and 1 deletions

5
bin/docker/sidekiq Executable file
View file

@ -0,0 +1,5 @@
#!/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"