kamal
kamal copied to clipboard
asset_path with SELinux label
I am using Kamal to deploy to a Fedora CoreOS server which uses SELinux.
Volume mounts are required to have a :z or :Z on the end so SELinux does not deny access.
I can not find a way to tell Kamal to apply the :z to the end of the asset_path, if I just add it (as i do for volumes:), it treats it as part of the path
Could not find the file /rails/public/assets:z/. in container
I had a quick hunt about the source but could not see a way this would be possible.
I there an existing way to specify this?
Related to https://github.com/basecamp/kamal/issues/1575, though not exaclty the same