Run the local stack#

Start the full development composition on one machine with deploy/development/dev.sh.

To start it with a searchable dataset made from satellite scenes, follow Tutorial: find ships off a port; its serve step runs the commands on this page.

Prerequisites#

  • The repository cloned with its full history and the .venv from Install.

  • Docker with Compose v2 and Python 3 on the host. Run every command from the repository root.

  • Network access to PyPI, npm, Docker Hub, GitHub’s container registry and NVIDIA NGC (the NeMo Platform base image).

The public development stack starts without the optional native NeMo Platform services. Set GEONEMO_DEV_NATIVE_RUNTIME=1 before dev.sh up when the native platform image and agent images are available to you. Milvus comes from Docker Hub; see The Milvus image.

Prepare the release inputs#

The server image bundles the skills catalog from this checkout. Prepare it before building.

uv sync --locked --all-packages --extra dev --python 3.12
sh ci/prepare-public-skills.sh

The script assembles the catalog from the checked-out source and installs it for local use.

Steps#

  1. Build the images and start the stack with seed data:

    deploy/development/dev.sh up --build
    
  2. Print the addresses:

    deploy/development/dev.sh urls
    
  3. Stop the stack. Add -v to delete its volumes:

    deploy/development/dev.sh down
    

Result#

up starts PostgreSQL and Phoenix, applies the schemas with geonemo-services database migrate, starts the services and runs the seed step. Every service that a missing part would provide is skipped.

Service

Address

Console

http://127.0.0.1:3101

Toolkit API (OpenAPI at /docs)

http://127.0.0.1:8101

MCP server

http://127.0.0.1:8201/mcp

Phoenix

http://127.0.0.1:16006

Other port

Address

PostgreSQL

127.0.0.1:55432

Phoenix OTLP (gRPC)

14317

Ports and names come from deploy/development/development.env; the stack uses its own project, network and volume names, so it does not touch another deployment. The defaults of the base file are in Compose files.

Vessel detection is off on this stack: discovery reports the vessel_detection capability as unavailable and its readiness checks as disabled. The stack does not start the Maritime pack’s controller, so it does not turn the feature on.

Options#

Command or option

Effect

up --build

Builds the server, MCP and console images first

up --no-seed

Skips the seed step

up --sign-in

Turns sign-in on; requires --no-seed, since the seed step has no credentials

up --retrieval FILE --retrieval-data DIR

Adds a standalone Milvus and the retrieval worker with a retrieval configuration

up --l1b-ortho INDEX --l1b-ortho-data DIR [--l1b-ortho-gpu N]

Adds the Sentinel pack’s L1B ortho service; needs a GPU

status

Lists the running services

retrieval COMMAND

Runs geonemo-services retrieval COMMAND in the API container

Options chosen by up are kept until down, so later commands address the same stack. Compose profiles in the stack are seed, retrieval, administration, gkb-backup and agent-monitoring; see Compose files.

The Milvus image#

--retrieval starts Milvus from GEONEMO_MILVUS_IMAGE, which defaults to the upstream Milvus v2.6.25-gpu image on Docker Hub, pinned by its multi-arch index, so it runs on x86-64 and ARM64 hosts.

  1. Keep each dataset root of the retrieval file inside --retrieval-data, which is mounted read-only at the same path.

  2. Start with up --retrieval FILE --retrieval-data DIR and check with dev.sh retrieval dataset-status CORPUS.

The upstream image lacks only a backport that reports embedded-etcd startup errors. CI builds an image with that backport; to use it, set GEONEMO_MILVUS_IMAGE to its digest reference. --l1b-ortho and agent runs still need registry access.