diff --git a/Gemfile b/Gemfile index 84dbc1b..c398da5 100644 --- a/Gemfile +++ b/Gemfile @@ -17,7 +17,7 @@ gem 'omniauth' gem 'omniauth-cas', '3.0.0' gem 'omniauth-rails_csrf_protection', '~> 1.0' gem 'pg', '~> 1.4.6' -gem 'puma', '~> 6.4.1' +gem 'puma', '~> 7.2' gem 'puma-plugin-delayed_stop', '~> 0.1.2' gem 'rack-timeout', '~> 0.6.3' gem 'rails', '~> 7.1.5' diff --git a/Gemfile.lock b/Gemfile.lock index ce003a5..bd3cbac 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -315,7 +315,7 @@ GEM psych (5.2.0) stringio public_suffix (6.0.1) - puma (6.4.3) + puma (7.2.1) nio4r (~> 2.0) puma-plugin-delayed_stop (0.1.2) puma (>= 5.0, < 8) @@ -550,7 +550,7 @@ DEPENDENCIES omniauth-cas (= 3.0.0) omniauth-rails_csrf_protection (~> 1.0) pg (~> 1.4.6) - puma (~> 6.4.1) + puma (~> 7.2) puma-plugin-delayed_stop (~> 0.1.2) rack-timeout (~> 0.6.3) rails (~> 7.1.5) diff --git a/docker-compose.yml b/docker-compose.yml index 0c7bb44..7e6fefe 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,6 +11,8 @@ services: ports: - 3000:3000 restart: always + stop_signal: SIGQUIT + stop_grace_period: 15s environment: - DATABASE_URL=postgres://root:root@db/geodata-dev?pool=5 - SOLR_URL=http://solr:8983/solr/geodata-test