mash-playbook/docs/services/postgis.md
2023-04-05 17:01:58 +02:00

31 lines
1.4 KiB
Markdown

# Postgis
[Postgis](https://postgis.net/) is a spatial database extender for PostgreSQL object-relational database. It adds support for geographic objects allowing location queries to be run in SQL.
Services like [Mobilizon](./mobilizon.md) depend on the ability to store gespatial data.
Enabling the PPostgisostgres database service will automatically wire these services to use it.
## Configuration
To enable this service, add the following configuration to your `vars.yml` file and re-run the [installation](../installing.md) process:
```yaml
########################################################################
# #
# postgis #
# #
########################################################################
postgis_enabled: true
# Put a strong password below, generated with `pwgen -s 64 1` or in another way
postgis_connection_password: ''
########################################################################
# #
# /postgis #
# #
########################################################################
```