docker: add cron service to compose file.
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
namespace :danbooru do
|
||||
desc "Run the cronjob scheduler"
|
||||
task cron: :environment do
|
||||
Clockwork::run
|
||||
end
|
||||
|
||||
namespace :docker do
|
||||
# Note that uncommited changes won't be included in the image; commit
|
||||
# changes first before building the image.
|
||||
|
||||
Reference in New Issue
Block a user