diff --git a/README.md b/README.md index 851a3269..a3c57508 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,19 @@ Sample data can be generated by using the following command: ./scripts/docker.sh exec api python -c "from src.connectors.database import init_db; init_db()" ``` + +## Access the database through a client (QGIS, PgAdmin, etc.) + +To access the GeoCam database through an external client, add these lines to `docker/docker-compose.yml` in the db container after the `environment` statement: + +``` + ports: + - "6543:5432" +``` + +You can now connect to the database with your client using the GeoCam address and the port 6543. You can modify this port if you want. + + ## Authentication GeoCam uses [Keycloak](https://www.keycloak.org/) version 21.1.0 as authentication system.