Skip to main content

Module container

Module container 

Source
Expand description

Lifecycle of a tenant’s own Docker PostgreSQL container.

Each local tenant owns a compose project under .systemprompt/docker/, so two installations on one host never share a container, a volume, or a role. Wraps docker compose to bring a project up, health-check it, and tear it down with its volume.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Structs§

TenantContainer

Functions§

compose_path_for_project
is_project_running
remove_project
start_project
wait_for_postgres_healthy