Update docs/source/pgservice.rst
This commit is contained in:
parent
cefbc4b33a
commit
308121bf71
|
@ -36,9 +36,11 @@ When you add a Data Source in your control panel, it automatically adds an entry
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
/var/www/data/qgis
|
/var/www/data/qgis/pg_service.conf
|
||||||
|
|
||||||
The same pg_service.conf entry is used on your local computer, but with the hostname pointed at your server. For example:
|
If you connect your QGIS Project to your PostGIS database, the same pg_service.conf entry is used on your local computer, but with the hostname pointed at your server.
|
||||||
|
|
||||||
|
For example, if our QuartzMap server is located at https://myserver.com, our hostname would be as below:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
|
@ -47,4 +49,9 @@ The same pg_service.conf entry is used on your local computer, but with the host
|
||||||
port=5432
|
port=5432
|
||||||
dbname=beedatabase
|
dbname=beedatabase
|
||||||
user=admin1
|
user=admin1
|
||||||
password=DfBJdQTtQv
|
password=DfBJdQTtQv
|
||||||
|
|
||||||
|
|
||||||
|
.. raw:: html
|
||||||
|
|
||||||
|
<iframe width="1125" height="703" src="https://www.youtube.com/embed/5iT9VDKTxDM" title="Lizmap - The pg_service.conf file" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
|
||||||
|
|
Loading…
Reference in New Issue