Running this role against a RHEL 8 system, postgresql will not stay up with a message in the logs:
initdb: cannot be run as root
Please log in (using, e.g., "su") as the (unprivileged) user that will
own the server process.
This occurs whether or not the container user and group is set to root or a non-root user. When I pull the container using podman pull and run it by hand as the non-root user, the database inits fine and runs. It's not entirely clear if I need to configure something on this machine.
The redis container just reports:
1:C 13 Jul 2021 00:44:55.684 # Fatal error, can't open config file '/usr/local/etc/redis/redis.conf': No such file or directory
Running this role against a RHEL 8 system, postgresql will not stay up with a message in the logs:
This occurs whether or not the container user and group is set to root or a non-root user. When I pull the container using
podman pull
and run it by hand as the non-root user, the database inits fine and runs. It's not entirely clear if I need to configure something on this machine.The redis container just reports: