Render build
This commit is contained in:
@@ -81,5 +81,4 @@ test:
|
|||||||
#
|
#
|
||||||
production:
|
production:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: railsondocker_production
|
|
||||||
url: <%= ENV['DATABASE_URL'] %>
|
url: <%= ENV['DATABASE_URL'] %>
|
||||||
|
|||||||
+2
-2
@@ -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
|
# Workers do not work on JRuby or Windows (both of which do not support
|
||||||
# processes).
|
# processes).
|
||||||
#
|
#
|
||||||
# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
|
workers ENV.fetch("WEB_CONCURRENCY") { 4 }
|
||||||
|
|
||||||
# Use the `preload_app!` method when specifying a `workers` number.
|
# Use the `preload_app!` method when specifying a `workers` number.
|
||||||
# This directive tells Puma to first boot the application and load code
|
# This directive tells Puma to first boot the application and load code
|
||||||
# before forking the application. This takes advantage of Copy On Write
|
# before forking the application. This takes advantage of Copy On Write
|
||||||
# process behavior so workers use less memory.
|
# process behavior so workers use less memory.
|
||||||
#
|
#
|
||||||
# preload_app!
|
preload_app!
|
||||||
|
|
||||||
# Allow puma to be restarted by `bin/rails restart` command.
|
# Allow puma to be restarted by `bin/rails restart` command.
|
||||||
plugin :tmp_restart
|
plugin :tmp_restart
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
databases:
|
||||||
|
- name: mysite
|
||||||
|
databaseName: mysite
|
||||||
|
user: mysite
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- type: web
|
- type: web
|
||||||
name: rails7-on-docker
|
name: rails7-on-docker
|
||||||
|
|||||||
Reference in New Issue
Block a user