camptocamp / docker-qgis-server

All that is needed to generate a proper QGIS server image
GNU General Public License v2.0
36 stars 8 forks source link

Support for auth config #510

Open TommasoDb opened 1 year ago

TommasoDb commented 1 year ago

I'm trying to use auth config like explained in this documentation: https://docs.qgis.org/3.22/en/docs/user_manual/auth_system/auth_workflows.html#qgis-server-support

Setting the environment variables in Docker does not work for me: QGIS_AUTH_DB_DIR_PATH and QGIS_AUTH_PASSWORD_FILE It seems that Qgis Server ignores the variables.

Is this supported in the image? There is any solution or workaround?

sbrunner commented 1 year ago

There is no reason that those variable will not be passed to QGIS, you should have an issue somewhere else...