I've just used this Docker configuration to deploy a Lizmap instance (thanks!) but I would really recommend to explicit in the documentation to use a non-root user to execute it, or at least advice about manually setting a proper value to LIZMAP_UID and LIZMAP_GID in configure.sh.
Trying to run as root, the instance results always as "unhealthy". docker logs highlights the error
groupmod: GID '0' already exists
from which I desumed that some step of the Compose (not really clear which one...) tries to create a group with GID = 0, which always exists by default.
Creating a dedicated lizmap user and starting over the whole procedure, it worked with no errors.
I've just used this Docker configuration to deploy a Lizmap instance (thanks!) but I would really recommend to explicit in the documentation to use a non-root user to execute it, or at least advice about manually setting a proper value to
LIZMAP_UIDandLIZMAP_GIDinconfigure.sh.Trying to run as root, the instance results always as "unhealthy".
docker logshighlights the errorfrom which I desumed that some step of the Compose (not really clear which one...) tries to create a group with GID = 0, which always exists by default.
Creating a dedicated
lizmapuser and starting over the whole procedure, it worked with no errors.