You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the kamal admin_console alias executes the command on the api server: api-host.com.
Calling kamal admin_console -r admin does execute the command on the admin role, same as not using the alias at all: kamal app exec -r admin --interactive --reuse "bin/rails console".
Additional details
I am using kamal dockerized:
alias kamal='docker run -it --rm --env-file SECRET.env -v "${PWD}:/workdir" -v "${SSH_AUTH_SOCK}:/ssh-agent" -v /var/run/docker.sock:/var/run/docker.sock -e "SSH_AUTH_SOCK=/ssh-agent" ghcr.io/basecamp/kamal:latest'
The text was updated successfully, but these errors were encountered:
Following the documentation here and assuming a
deploy.yml
like this:Using the
kamal admin_console
alias executes the command on theapi
server:api-host.com
.Calling
kamal admin_console -r admin
does execute the command on theadmin
role, same as not using the alias at all:kamal app exec -r admin --interactive --reuse "bin/rails console"
.Additional details
I am using
kamal
dockerized:The text was updated successfully, but these errors were encountered: