File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 3030# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
3131port ENV . fetch ( "PORT" , 3000 )
3232
33- tuned_num_workers , tuned_num_threads = auto_tune
34- workers tuned_num_workers
35-
3633# Allow puma to be restarted by `bin/rails restart` command.
3734plugin :tmp_restart
3835
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ RUN bundle install --jobs=8
2020
2121COPY . /rails/
2222
23+ ENV WEB_CONCURRENCY=auto
2324ENV RAILS_ENV=production_mysql
2425ENV PORT=8080
2526ENV REDIS_URL=redis://localhost:6379/0
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ RUN bundle install --jobs=8
2020
2121COPY . /rails/
2222
23+ ENV WEB_CONCURRENCY=auto
2324ENV RAILS_ENV=production_postgresql
2425ENV PORT=8080
2526ENV REDIS_URL=redis://localhost:6379/0
You can’t perform that action at this time.
0 commit comments