Render build

This commit is contained in:
Ryan W
2022-09-10 15:56:53 -07:00
parent d29cf694a1
commit c5090e97d8
3 changed files with 7 additions and 3 deletions
-1
View File
@@ -81,5 +81,4 @@ test:
#
production:
<<: *default
database: railsondocker_production
url: <%= ENV['DATABASE_URL'] %>
+2 -2
View File
@@ -32,14 +32,14 @@ pidfile ENV.fetch('PIDFILE', 'tmp/pids/server.pid')
# Workers do not work on JRuby or Windows (both of which do not support
# processes).
#
# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
workers ENV.fetch("WEB_CONCURRENCY") { 4 }
# Use the `preload_app!` method when specifying a `workers` number.
# This directive tells Puma to first boot the application and load code
# before forking the application. This takes advantage of Copy On Write
# process behavior so workers use less memory.
#
# preload_app!
preload_app!
# Allow puma to be restarted by `bin/rails restart` command.
plugin :tmp_restart
+5
View File
@@ -1,3 +1,8 @@
databases:
- name: mysite
databaseName: mysite
user: mysite
services:
- type: web
name: rails7-on-docker