mattbrictson / tomo

A friendly CLI for deploying Rails apps ✨

Home Page:https://tomo.mattbrictson.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] Is it possible to change the default PUMA port? How do I do that?

designium opened this issue · comments

commented

Hi,

Is there any way to change the PUMA's default port from 3000 to something like '2000'?

I tried changing the config.rb file from TOMO folder but it didn't work so far, the defaults to 3000.

You should be able to add:

# .tomo/config.rb
set puma_port: 2000

And then run this task to regenerate the puma systemd config:

$ tomo run puma:setup_systemd

Let me know if that doesn't work!

commented

It did work! Thank you.