Home Catalog GeoLens
Utilities

GeoLens

Self-hosted geospatial data catalog and interactive web map builder with PostGIS, vector tiles, OGC API support, and semantic spatial search.

ARM64 & AMD64
Docker & Rootless Podman
100% Self-Hosted (Zero Lock-in)
RAM Profile: Medium
Default Port: Port 8080

Why this Configuration?

Quick Start (Standalone Docker Compose)

The snippet below is immediately ready to run in any standard Docker or Podman environment:

services:
  geolens-web:
    image: ghcr.io/geolens-io/geolens-frontend:latest
    container_name: njorddeploy-geolens-web
    restart: unless-stopped
    ports:
      - "8080:80"
    depends_on:
      - geolens-api
    networks:
      - njorddeploy_net

  geolens-api:
    image: ghcr.io/geolens-io/geolens-api:latest
    container_name: njorddeploy-geolens-api
    restart: unless-stopped
    ports:
      - "8001:8000"
    depends_on:
      - geolens-db
    environment:
      - "POSTGRES_HOST=geolens-db"
      - "POSTGRES_DB=geolens"
      - "POSTGRES_USER=geolens"
      - "POSTGRES_PASSWORD=ChangeMeSecurePassword123!"
    volumes:
      - "./data/geolens/data/storage:/data/storage"
    networks:
      - njorddeploy_net

  geolens-db:
    image: postgis/postgis:16-3.4-alpine
    container_name: njorddeploy-geolens-db
    restart: unless-stopped
    environment:
      - "POSTGRES_DB=geolens"
      - "POSTGRES_USER=geolens"
      - "POSTGRES_PASSWORD=ChangeMeSecurePassword123!"
    volumes:
      - "./data/geolens/data/db:/var/lib/postgresql/data"
    networks:
      - njorddeploy_net

networks:
  njorddeploy_net:

Start the service directly via the command line: docker compose up -d

Configuration & Environment Variables

Key configuration parameters and defaults derived from the NjordDeploy component template:

Variable Default Value Description
PORT_GEOLENS 8080 Port to access the GeoLens Web Map interface.
GEOLENS_API_PORT 8001 Port for the GeoLens FastAPI and OGC API endpoints.
GEOLENS_DATA_PATH /opt/njorddeploy/data/geolens/data Host path for storing datasets and PostGIS database.
GEOLENS_DB_PASSWORD ChangeMeSecurePassword123! Password for internal PostGIS relational store.

Ecosystem & Enterprise Integration

Effortless Management with NjordDeploy

Deploy, monitor, and update this service with a single click on your own hardware via the NjordDeploy Configurator.