Deploying with multiple SSH users #1040
-
Is it possible to deploy an application with multiple SSH users. e.g. Everyone using their own user on the server instead of a shared account. Looking at the SSH configuration options, it looks like every user would need to be added to the docker group. Would this just require dynamically setting the user from an environment variable in the Kamal config file? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@Antsiscool You should be able to set the user dynamically and Kamal will use that for the deploy. Something like:
And then have |
Beta Was this translation helpful? Give feedback.
@Antsiscool You should be able to set the user dynamically and Kamal will use that for the deploy.
Something like:
And then have
DEPLOY_AS
set in.kamal/secrets
.