While attempting to add a naive "Happy Eyeballs" option for testing and experimentation, I encountered a "permission denied" error when running the docker-compose command. It was not immediately apparent that SELinux was the cause of the issue, making it challenging to identify the root cause.
To resolve this issue, this commit adds the :z mount option, which ensures SELinux compatibility by addressing the permission issues caused by SELinux when the Caddyfile is mounted without the appropriate label.
It's important to note that this change should only affect systems with SELinux enabled.
While attempting to add a naive "Happy Eyeballs" option for testing and experimentation, I encountered a "permission denied" error when running the docker-compose command. It was not immediately apparent that SELinux was the cause of the issue, making it challenging to identify the root cause.
To resolve this issue, this commit adds the
:z
mount option, which ensures SELinux compatibility by addressing the permission issues caused by SELinux when the Caddyfile is mounted without the appropriate label.It's important to note that this change should only affect systems with SELinux enabled.