ToolsCommandsCommands for services run beside the app
jadpo services
On this page
Show and manage the app's services.
Shows each container a package runs beside the app (area 11): its package, image, state, health, CPU and memory, restarts and uptime. start, stop and restart manage one, logs prints what it wrote (--since, --follow) and shell opens a shell inside one, in development only. It asks the running app, never the container engine: the project's running jadpo dev, or with --deployable a native deployable running on this machine, which supervises its services itself.
Also: jadpo service.
jadpo services [action] [service]Arguments
action(optional): What to do: list, start, stop, restart, logs or shellservice(optional): The service, by its connection's name
Flags
--deployable <name>: Ask this deployable running here--follow: Keep printing what the service writes--since <time>: Only lines since 10m, 2h, 1d or a UTC time
On every command
--json: Print data for tools instead of text--full: Show everything a report shortens--help: Show every flag, with examples--color <when>: Choose when to use colour
jadpo services --json writes one JSON document to standard output instead of text, with the same exit code. The document has schemaVersion, command ("services"), ok, data (what the command produced, null when it failed) and diagnostics (each error with its rule, reason, next and help). A command that needs a terminal refuses --json and names the flags that do the same job.
Examples
# See how each service standsjadpo services# Start a service afreshjadpo services restart renderer# Follow what a production service writesjadpo services logs renderer --follow --deployable app
Errors
cli.services_arguments: Ajadpo servicescommand names an action it doesn't have, a service the app doesn't run, or an option its action doesn't takeservices.unavailable: The running app couldn't be asked about its services, because it isn't running on this machine, or couldn't do what was asked of onetoolchain.project_not_found: You ran a command that works on a project in a folder with noapp.jadpo, in it or in any folder above it
Markdown for agents: /docs/jadpo-services.md.Built from Jadpo's main branch at commit f05ed31.