[IMP] Docker compose file compatibility for Podman#835
[IMP] Docker compose file compatibility for Podman#835darius-m wants to merge 1 commit intodfir-iris:developfrom
Conversation
Update the docker compose base file to allow running IRIS under Podman
on RHEL-based systems using podman-compose:
- explicitly expand variables in the `environment` block (e.g., use
`POSTGRES_USER=${POSTGRES_USER}` instead of just `POSTGRES_USER`);
- add SELinux labeling flags for file mounts (`z` or `Z` depending on
whether the mount is shared between multiple containers or not).
Also remove the `./certificates/` mount as it does not appear to be
referenced in the code (only `web_certificates` and `ldap` are used,
which are explicitly mounted by other rules).
Signed-off-by: Darius Mihai <dariusmihaim@gmail.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Update the docker compose base file to allow running IRIS under Podman on RHEL-based systems using podman-compose:
environmentblock (e.g., usePOSTGRES_USER=${POSTGRES_USER}instead of justPOSTGRES_USER);zorZdepending on whether the mount is shared between multiple containers or not).Also remove the
./certificates/mount as it does not appear to be referenced in the code (onlyweb_certificatesandldapare used, which are explicitly mounted by other rules).NB: the variable expansion may be an issue for some implementations of Docker or Podman, that may expose these variables in the command line for anyone able to list processes on the system (e.g., when running
ps auxusers may be able to see the command arguments like-e VAR=VALUE), but recent versions do not appear to have this issue.