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 30
30
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
31
31
port ENV . fetch ( "PORT" , 3000 )
32
32
33
- tuned_num_workers , tuned_num_threads = auto_tune
34
- workers tuned_num_workers
35
-
36
33
# Allow puma to be restarted by `bin/rails restart` command.
37
34
plugin :tmp_restart
38
35
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ RUN bundle install --jobs=8
20
20
21
21
COPY . /rails/
22
22
23
+ ENV WEB_CONCURRENCY=auto
23
24
ENV RAILS_ENV=production_mysql
24
25
ENV PORT=8080
25
26
ENV 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
20
20
21
21
COPY . /rails/
22
22
23
+ ENV WEB_CONCURRENCY=auto
23
24
ENV RAILS_ENV=production_postgresql
24
25
ENV PORT=8080
25
26
ENV REDIS_URL=redis://localhost:6379/0
You can’t perform that action at this time.
0 commit comments