Feature: Add Sidekiq docker (#443)

* update db:schema due to migration

* reduce default concurrency for redis connection limit

* Allow auto update packages in the development mode without building image

* add sidekiq support to docker-compose

* Pass sidekiq cofig file

* passed the env file in base image rather than separately in rails, web packer and sidekiq in docker-compose
* removed un-necessary changes in schema
* changed concurrency to finer values
* removed default size set in sidekiq redis config
* Added the sidekiq config option in Procfile.dev

Co-authored-by: Sony Mathew <ynos1234@gmail.com>
This commit is contained in:
Anto Dominic
2020-01-27 05:30:13 +11:00
committed by Sony Mathew
parent 8cf135f2db
commit 6325acd183
5 changed files with 32 additions and 8 deletions

View File

@@ -4,7 +4,7 @@
# pick it up automatically.
---
:verbose: false
:concurrency: 10
:concurrency: 3
:timeout: 25
# Sidekiq will run this file through ERB when reading it so you can
@@ -18,6 +18,6 @@
# you can override concurrency based on environment
production:
:concurrency: 3
:concurrency: 10
staging:
:concurrency: 15
:concurrency: 5