diff --git a/compose/app.yml b/compose/app.yml index ef9ae480..17bab89b 100644 --- a/compose/app.yml +++ b/compose/app.yml @@ -30,6 +30,7 @@ services: environment: # For this to take effect, remove init/timeout, and in Gemfile, fix "rack-timeout" to not require anything. RACK_TIMEOUT_SERVICE_TIMEOUT: 25 + db_pool_size: 60 logging: driver: "json-file" options: diff --git a/compose/mqtt-task.yml b/compose/mqtt-task.yml index f2258b12..e7f94c43 100644 --- a/compose/mqtt-task.yml +++ b/compose/mqtt-task.yml @@ -10,3 +10,5 @@ services: driver: "json-file" options: max-size: "100m" + environment: + db_pool_size: 5 diff --git a/compose/sidekiq.yml b/compose/sidekiq.yml index 04eec931..347cbd2d 100644 --- a/compose/sidekiq.yml +++ b/compose/sidekiq.yml @@ -5,4 +5,6 @@ services: command: bundle exec sidekiq restart: always volumes: - - "../log:/app/log" \ No newline at end of file + - "../log:/app/log" + environment: + db_pool_size: 30 diff --git a/compose/telnet-task.yml b/compose/telnet-task.yml index 6929a1d9..caa14fa2 100644 --- a/compose/telnet-task.yml +++ b/compose/telnet-task.yml @@ -4,3 +4,5 @@ services: env_file: ../.env command: bundle exec rake telnet:push restart: always + environment: + db_pool_size: 5