Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[q] Does the image support PGSERVICEFILE ? #400

Open
sskras opened this issue Jun 20, 2022 · 4 comments
Open

[q] Does the image support PGSERVICEFILE ? #400

sskras opened this issue Jun 20, 2022 · 4 comments

Comments

@sskras
Copy link

sskras commented Jun 20, 2022

This environment variable is listed here:
https://docs.qgis.org/3.22/en/docs/user_manual/managing_data_source/opening_data.html?highlight=pgservicefile#postgresql-service-connection-file

... and mentioned here only by the way:
https://docs.qgis.org/3.22/en/docs/server_manual/config.html?highlight=environment#environment-variables

However the README.md only says that the default value of it was removed:
https://github.com/camptocamp/docker-qgis-server/blob/3.22/README.md#changelog

So I decided to ask the repo maintainer before diving in.

@sbrunner
Copy link
Member

Yes, we use that everywhere :-)

@sskras
Copy link
Author

sskras commented Jan 30, 2023

Thanks. To me it seems that it's used only in a single place in this repo:

PGSERVICEFILE: /etc/qgisserver/pg_service.conf

... and the official QGIS docs mention it vaguely, too. (I have shown the only matches in the original post)

Thus I think some pointer to the QGIS docs or even directly to the PostgreSQL docs would be nice, eg:
https://www.postgresql.org/docs/current/libpq-pgservice.html

What do you think / what is the repo documentation policy? :)

@sbrunner
Copy link
Member

This repo should not duplicate the QGIS or PostgreSQL documentation, but this specific point can be documented because:

  • Your right the official QGIS documentation in too short on this point
  • It's an important point in Docker (and k8s) world.

@sskras
Copy link
Author

sskras commented Feb 3, 2023

Thanks for the point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants