Closed tetricky closed 1 year ago
It seems that passing env variable at runtime is not sufficient, and does not catch all useage of them.
Creating a .env file, that mirrors that of the required env variables, and passing that into the container, with the correct permissions, solves the issue.
I'm marking this as closed, though in an ideal world one or the other approach would be all that is required, and the container would be capable of operation purely with runtime env variables.
At least the documentation should reflect this need.
I've installed movim using the docker container image (docker.io/movim/movim:0.21.1) under podman, with postgres running on a different pod.
I've set the database host using env variable
DB_HOST=postgres
.On creating the container, it successfully connects to the database and populates the public schema.
If I try to log in as a user, it fails to progress past the request, and the debug logs show: