How to create second server for Sidekiq only

I launched my Rails app successfully.

Now I want to launch a separate server for the same Rails app, but only to run Sidekiq workers (it should also connect to the same Postgres db the other Rails app uses).

I’ve tried various approaches but no success.

Any guidance? Thanks

Did you try this: Sidekiq Background Workers · Fly Docs ?

Won’t that just run the sidekiq workers on the same machine as the web workers?

Common misunderstanding, primarily due to the naming of the [processes] section. No, every entry in the processes section will be a separate VM. In fact, can be scaled separately to be multiple vms.

I there I was spending a couple hours trying things like making separate fly config files. I’ll try this, thanks!