summaryrefslogtreecommitdiffstats
path: root/config/puma.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/puma.rb')
-rw-r--r--config/puma.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/puma.rb b/config/puma.rb
new file mode 100644
index 0000000..d60c643
--- /dev/null
+++ b/config/puma.rb
@@ -0,0 +1,9 @@
+workers 1
+threads 4, 8
+
+bind 'tcp://127.0.0.1:4567'
+environment ENV.fetch('RACK_ENV', 'development')
+
+pidfile '/opt/albumen/tmp/puma.pid'
+state_path '/opt/albumen/tmp/puma.state'
+stdout_redirect '/opt/albumen/log/puma.stdout.log', '/opt/albumen/log/puma.stderr.log', true