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
.venvfrom 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#
Build the images and start the stack with seed data:
deploy/development/dev.sh up --build
Print the addresses:
deploy/development/dev.sh urlsStop the stack. Add
-vto 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 |
|
Toolkit API (OpenAPI at |
|
MCP server |
|
Phoenix |
|
Other port |
Address |
|---|---|
PostgreSQL |
|
Phoenix OTLP (gRPC) |
|
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 |
|---|---|
|
Builds the server, MCP and console images first |
|
Skips the seed step |
|
Turns sign-in on; requires |
|
Adds a standalone Milvus and the retrieval worker with a retrieval configuration |
|
Adds the Sentinel pack’s L1B ortho service; needs a GPU |
|
Lists the running services |
|
Runs |
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.
Keep each dataset root of the retrieval file inside
--retrieval-data, which is mounted read-only at the same path.Start with
up --retrieval FILE --retrieval-data DIRand check withdev.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.