Skip to content

Commit

Permalink
set db pool size in compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
timcowlishaw committed Jul 30, 2024
1 parent b7c347b commit 29fb46c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions compose/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: 30
logging:
driver: "json-file"
options:
Expand Down
4 changes: 3 additions & 1 deletion compose/auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ services:
image: smartcitizen/auth
ports:
- "3001:3000"
restart: always
restart: always
environment:
db_pool_size: 30
2 changes: 2 additions & 0 deletions compose/mqtt-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ services:
driver: "json-file"
options:
max-size: "100m"
environment:
db_pool_size: 5
4 changes: 3 additions & 1 deletion compose/sidekiq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ services:
command: bundle exec sidekiq
restart: always
volumes:
- "../log:/app/log"
- "../log:/app/log"
environment:
db_pool_size: 30
2 changes: 2 additions & 0 deletions compose/telnet-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ services:
env_file: ../.env
command: bundle exec rake telnet:push
restart: always
environment:
db_pool_size: 5

0 comments on commit 29fb46c

Please sign in to comment.