We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cc05b4 commit 15965dfCopy full SHA for 15965df
docker-compose.yml
@@ -26,7 +26,7 @@ services:
26
<<: *default-service
27
ports:
28
- "8083:80" # HOST:CONTAINER, edit only HOST part
29
- command: bundle exec puma -v -p 80 --pidfile 'server.pid'
+ command: bundle exec puma -v -p 80 --pidfile 'server.pid' --config puma.rb
30
restart: unless-stopped
31
32
resque-default:
puma.rb
@@ -0,0 +1,4 @@
1
+threads_count = ENV.fetch("WEB_THREADS_COUNT") { 1 }
2
+threads threads_count, threads_count
3
+
4
+workers ENV.fetch("WEB_WORKERS_COUNT") { 5 }
0 commit comments