Deploying with multiple SSH users #1040
Answered
by
nickhammond
Antsiscool
asked this question in
Q&A
|
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? |
Answered by
nickhammond
Oct 3, 2024
Replies: 1 comment 5 replies
|
@Antsiscool You should be able to set the user dynamically and Kamal will use that for the deploy. Something like: And then have |
5 replies
Answer selected by
Antsiscool
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Antsiscool You should be able to set the user dynamically and Kamal will use that for the deploy.
Something like:
And then have
DEPLOY_ASset in.kamal/secrets.