-
-
Save gjastrab/37d9e6f201be1be2165f65fad5df0182 to your computer and use it in GitHub Desktop.
Production Puma Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
directory '/path/to/app' | |
environment 'production' | |
daemonize true | |
pidfile 'tmp/pids/puma.pid' | |
state_path 'tmp/pids/puma.state' | |
stdout_redirect 'log/puma.stdout', 'log/puma.stderr', true | |
bind 'unix:///path/to/puma.sock' | |
restart_command 'bundle exec puma' | |
workers 4 | |
threads 0,6 | |
prune_bundler | |
tag 'My App Name' | |
activate_control_app 'unix:///path/to/puma-ctl.sock', { no_token: true } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment