packaged by Chainguard
Contact our team to test out this image for free. Please also indicate any other images you would like to evaluate.
PeerDB Flow API - Enterprise data synchronization API server
Chainguard Containers are regularly-updated, secure-by-default container images.
For those with access, this container image is available on cgr.dev:
Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.
The flow-snapshot-api Chainguard Image is a drop-in replacement for the upstream ghcr.io/peerdb-io/flow-api image, with the following differences:
peerdb with UID/GID 65532)-dev variants for debuggingThe image maintains full compatibility with PeerDB's API functionality, exposing both the gRPC service (port 8112) and HTTP gateway (port 8113).
The flow-snapshot-api provides the API interface for PeerDB operations, including peer management, flow configuration, and monitoring. It serves both gRPC and HTTP/REST endpoints.
Run the API server with required database and Temporal connections:
For a complete PeerDB deployment, see the official docker-compose.yml. To use Chainguard images:
ghcr.io/peerdb-io/flow-api:stable-v0.30.9 with cgr.dev/chainguard/flow-snapshot-api:latestThe API server is configured through environment variables:
PEERDB_CATALOG_HOST: PostgreSQL host for the PeerDB catalogPEERDB_CATALOG_PORT: PostgreSQL port (default: 5432)PEERDB_CATALOG_USER: Database usernamePEERDB_CATALOG_PASSWORD: Database passwordPEERDB_CATALOG_DATABASE: Database nameTEMPORAL_HOST_PORT: Temporal server address (format: host:port)PEERDB_TEMPORAL_NAMESPACE: Temporal namespace (default: default)PEERDB_FLOW_SERVER_PORT: gRPC server port (default: 8112)PEERDB_FLOW_SERVER_HTTP_PORT: HTTP gateway port (default: 8113)RUST_LOG: Logging level (error, warn, info, debug, trace)PEERDB_VERSION_SHA_SHORT: Version identifierPEERDB_PASSWORD: API authentication password (if authentication is enabled)By default, the API runs without authentication. To enable authentication:
The API exposes two types of endpoints:
gRPC (port 8112): For programmatic access and PeerDB UIHTTP Gateway (port 8113): REST-compatible endpoints for HTTP clientsExample HTTP API usage:
Chainguard Containers are minimal container images that are secure by default.
In many cases, the Chainguard Containers tagged as :latest contain only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager. Chainguard Containers are built with Wolfi, our Linux undistro designed to produce container images that meet the requirements of a more secure software supply chain.
The main features of Chainguard Containers include:
For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a -dev variant.
Although the -dev container image variants have similar security features as their more minimal versions, they feature additional software that is typically not necessary in production environments. We recommend using multi-stage builds to leverage the -dev variants, copying application artifacts into a final minimal container that offers a reduced attack surface that won’t allow package installations or logins.
To better understand how to work with Chainguard Containers, please visit Chainguard Academy and Chainguard Courses.
In addition to Containers, Chainguard offers VMs and Libraries. Contact Chainguard to access additional products.
This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.
Chainguard's container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" tag of this image:
Elastic-2.0
GCC-exception-3.1
GPL-3.0-or-later
LGPL-2.1-or-later
MIT
MPL-2.0
For a complete list of licenses, please refer to this Image's SBOM.
Software license agreementChainguard Containers are SLSA Level 3 compliant with detailed metadata and documentation about how it was built. We generate build provenance and a Software Bill of Materials (SBOM) for each release, with complete visibility into the software supply chain.
SLSA compliance at ChainguardThis image helps reduce time and effort in establishing PCI DSS 4.0 compliance with low-to-no CVEs.
PCI DSS at ChainguardA FIPS validated version of this image is available for FedRAMP compliance. STIG is included with FIPS image.