Compose and nothing else, for the two workstations, where it is already installed by hand; the runtime, buildx and the group stay the docker module's. Nine Go tools: projects (with their directories from the containers' labels), ps, logs, a rendered config with secret-looking values redacted, and up, down, restart and pull by directory or name. Acts run as jobs inside the bundle, waited on for 18 s and followed with docker_compose_job, because an up that pulls outlasts a call. down never removes volumes.
41 lines
788 B
JSON
41 lines
788 B
JSON
{
|
|
"module": "docker-compose",
|
|
"version": "1",
|
|
"capabilities": [
|
|
"package-manager"
|
|
],
|
|
"tools": [
|
|
"docker_compose_projects",
|
|
"docker_compose_ps",
|
|
"docker_compose_logs",
|
|
"docker_compose_config",
|
|
"docker_compose_up",
|
|
"docker_compose_down",
|
|
"docker_compose_restart",
|
|
"docker_compose_pull",
|
|
"docker_compose_job"
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "package",
|
|
"type": "package",
|
|
"package": "docker-compose"
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "tools",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/docker-compose-tools",
|
|
"binary": "docker-compose-tools",
|
|
"loads": [
|
|
"docker-compose-tools"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|