This guide explains how to access and manage the PostgreSQL database with PostGIS extension used by STAC Finder. The database is stored on an external webserver (finder.stacindex.org).
The project uses PostgreSQL with PostGIS for storing and querying spatial data. The database runs on an external webserver (finder.stacindex.org). For database management, we use pgAdmin (Web Interface), which runs in a Docker container and is recommended for visual database administration.
-
Start Docker containers:
docker-compose up
-
Open pgAdmin in your browser:
http://localhost:5050
After logging into pgAdmin:
- Right-click on "Servers" in the left sidebar
- Select Register → Server...
- General Tab:
- Name:
finder.stacindex.org(or any name you prefer)
- Name:
- Connection Tab:
- Host name/address:
finder.stacindex.org - Port:
5432 - Maintenance database:
stacfinder - Username:
stacapiorcrawler(depends ind which component group you are or rights you need) - Password: (enter the known password)
- Host name/address:
- Click Save
After connecting, you can explore:
- Create tables: Right-click on schema → Create → Table
- Run SQL queries: Tools → Query Tool
- View data: Right-click on table → View/Edit Data
- Import/Export: Right-click on table → Import/Export Data
public: Default PostgreSQL schemastac: Custom schema for STAC-related data (recommended for all project tables)
The following PostGIS extensions are pre-installed:
postgis: Core spatial data types and functionspostgis_topology: Topology support for complex spatial relationships



