Setup on specific role or server doesn't work
I have a server with my app and accessories (postgres) on it. I need to setup a new server with a new accessory. The new server has it's own non-web role. The new accessory is only defined for the new server.
servers:
web:
- MAIN IP
new-role:
- MY_NEW_SERVER_IP
However:
-
if I try to run
kamal setup -h MY_NEW_SERVER_IPKamal is trying to compile and deploy my app to the new server. I understand that the assumption is all roles run the app by default, but how to set up a single accessory-only server otherwise ? Kamal should not assume every server runs the app, it's simply wrong. Or is it expected that we should use more than 1 deployment software - Kamal for the app, and another one for other services ? -
if I try to run
kamal setup -r new-roleKamal is trying to setup postgres on my main server. This is simply broken, but even if it's fixed, it's still not good enough, because there's no way to setup a single server this way (a role can have more than 1 server)
$ kamal version
2.2.2