Compose
Docker Compose projects: templates, imports, isolated deployments and previews. Generated from the `notploy` command surface.
Docker Compose projects: templates, imports, isolated deployments and previews.
notploy compose exposes 31 commands. They map one-to-one onto the compose.* API operations, so anything reachable from the dashboard is reachable from here.
Run notploy compose --help to list these commands in your terminal, or
notploy compose <command> --help for a single command.
Commands
notploy compose cancel-deployment
Calls POST /api/trpc/compose.cancelDeployment.
notploy compose cancel-deployment --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy compose clean-queues
Calls POST /api/trpc/compose.cleanQueues.
notploy compose clean-queues --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy compose clear-deployments
Calls POST /api/trpc/compose.clearDeployments.
notploy compose clear-deployments --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy compose create
Calls POST /api/trpc/compose.create.
notploy compose create --name <value> --environmentId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--name <value> | string | Yes | — |
--description <value> | string | No | — |
--environmentId <value> | string | Yes | — |
--composeType <value> | string | No | docker-compose, stack |
--appName <value> | string | No | — |
--serverId <value> | string | No | — |
--composeFile <value> | string | No | — |
--sourceType <value> | string | No | git, github, gitlab, bitbucket, gitea, raw |
--profile <name> | string | No | — |
notploy compose delete
Calls POST /api/trpc/compose.delete.
notploy compose delete --composeId <value> --deleteVolumes [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--deleteVolumes [boolean] | boolean | Yes | — |
--profile <name> | string | No | — |
notploy compose deploy
Calls POST /api/trpc/compose.deploy.
notploy compose deploy --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--title <value> | string | No | — |
--description <value> | string | No | — |
--freshVolumes [boolean] | boolean | No | — |
--no-freshVolumes | boolean | No | — |
--profile <name> | string | No | — |
notploy compose deploy-template
Calls POST /api/trpc/compose.deployTemplate.
notploy compose deploy-template --environmentId <value> --id <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--environmentId <value> | string | Yes | — |
--serverId <value> | string | No | — |
--id <value> | string | Yes | — |
--baseUrl <value> | string | No | — |
--profile <name> | string | No | — |
notploy compose disconnect-git-provider
Calls POST /api/trpc/compose.disconnectGitProvider.
notploy compose disconnect-git-provider --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy compose fetch-source-type
Calls POST /api/trpc/compose.fetchSourceType.
notploy compose fetch-source-type --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy compose get-converted-compose
Calls GET /api/trpc/compose.getConvertedCompose.
notploy compose get-converted-compose --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy compose get-default-command
Calls GET /api/trpc/compose.getDefaultCommand.
notploy compose get-default-command --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy compose get-tags
Calls GET /api/trpc/compose.getTags.
notploy compose get-tags [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--baseUrl <value> | string | No | — |
--profile <name> | string | No | — |
notploy compose import
Calls POST /api/trpc/compose.import.
notploy compose import --base64 <value> --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--base64 <value> | string | Yes | — |
--composeId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy compose isolated-deployment
Calls POST /api/trpc/compose.isolatedDeployment.
notploy compose isolated-deployment --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--suffix <value> | string | No | — |
--profile <name> | string | No | — |
notploy compose kill-build
Calls POST /api/trpc/compose.killBuild.
notploy compose kill-build --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy compose load-mounts-by-service
Calls GET /api/trpc/compose.loadMountsByService.
notploy compose load-mounts-by-service --composeId <value> --serviceName <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--serviceName <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy compose load-services
Calls GET /api/trpc/compose.loadServices.
notploy compose load-services --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--type <value> | string | No | fetch, cache |
--profile <name> | string | No | — |
notploy compose move
Calls POST /api/trpc/compose.move.
notploy compose move --composeId <value> --targetEnvironmentId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--targetEnvironmentId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy compose one
Calls GET /api/trpc/compose.one.
notploy compose one --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy compose preview-template
Calls POST /api/trpc/compose.previewTemplate.
notploy compose preview-template --base64 <value> --appName <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--base64 <value> | string | Yes | — |
--appName <value> | string | Yes | — |
--serverId <value> | string | No | — |
--profile <name> | string | No | — |
notploy compose process-template
Calls POST /api/trpc/compose.processTemplate.
notploy compose process-template --base64 <value> --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--base64 <value> | string | Yes | — |
--composeId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy compose randomize-compose
Calls POST /api/trpc/compose.randomizeCompose.
notploy compose randomize-compose --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--suffix <value> | string | No | — |
--profile <name> | string | No | — |
notploy compose read-logs
Calls GET /api/trpc/compose.readLogs.
notploy compose read-logs --composeId <value> --containerId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--containerId <value> | string | Yes | — |
--tail <value> | number | No | — |
--since <value> | string | No | — |
--search <value> | string | No | — |
--profile <name> | string | No | — |
notploy compose redeploy
Calls POST /api/trpc/compose.redeploy.
notploy compose redeploy --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--title <value> | string | No | — |
--description <value> | string | No | — |
--freshVolumes [boolean] | boolean | No | — |
--no-freshVolumes | boolean | No | — |
--profile <name> | string | No | — |
notploy compose refresh-token
Calls POST /api/trpc/compose.refreshToken.
notploy compose refresh-token --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy compose save-environment
Calls POST /api/trpc/compose.saveEnvironment.
notploy compose save-environment --composeId <value> --env <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--env <value> | string | Yes | — |
--createEnvFile [boolean] | boolean | No | — |
--no-createEnvFile | boolean | No | — |
--profile <name> | string | No | — |
notploy compose search
Calls GET /api/trpc/compose.search.
notploy compose search [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--q <value> | string | No | — |
--name <value> | string | No | — |
--appName <value> | string | No | — |
--description <value> | string | No | — |
--projectId <value> | string | No | — |
--environmentId <value> | string | No | — |
--limit <value> | number | No | — |
--offset <value> | number | No | — |
--profile <name> | string | No | — |
notploy compose start
Calls POST /api/trpc/compose.start.
notploy compose start --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy compose stop
Calls POST /api/trpc/compose.stop.
notploy compose stop --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy compose templates
Calls GET /api/trpc/compose.templates.
notploy compose templates [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--baseUrl <value> | string | No | — |
--profile <name> | string | No | — |
notploy compose update
Calls POST /api/trpc/compose.update.
notploy compose update --composeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--composeId <value> | string | Yes | — |
--name <value> | string | No | — |
--appName <value> | string | No | — |
--description <value> | string | No | — |
--env <value> | string | No | — |
--composeFile <value> | string | No | — |
--refreshToken <value> | string | No | — |
--sourceType <value> | string | No | git, github, gitlab, bitbucket, gitea, raw |
--composeType <value> | string | No | docker-compose, stack |
--repository <value> | string | No | — |
--owner <value> | string | No | — |
--branch <value> | string | No | — |
--autoDeploy [boolean] | boolean | No | — |
--no-autoDeploy | boolean | No | — |
--gitlabProjectId <value> | number | No | — |
--gitlabRepository <value> | string | No | — |
--gitlabOwner <value> | string | No | — |
--gitlabBranch <value> | string | No | — |
--gitlabPathNamespace <value> | string | No | — |
--bitbucketRepository <value> | string | No | — |
--bitbucketRepositorySlug <value> | string | No | — |
--bitbucketOwner <value> | string | No | — |
--bitbucketBranch <value> | string | No | — |
--giteaRepository <value> | string | No | — |
--giteaOwner <value> | string | No | — |
--giteaBranch <value> | string | No | — |
--customGitUrl <value> | string | No | — |
--customGitBranch <value> | string | No | — |
--customGitSSHKeyId <value> | string | No | — |
--command <value> | string | No | — |
--createEnvFile [boolean] | boolean | No | — |
--no-createEnvFile | boolean | No | — |
--enableSubmodules [boolean] | boolean | No | — |
--no-enableSubmodules | boolean | No | — |
--composePath <value> | string | No | — |
--suffix <value> | string | No | — |
--randomize [boolean] | boolean | No | — |
--no-randomize | boolean | No | — |
--isolatedDeployment [boolean] | boolean | No | — |
--no-isolatedDeployment | boolean | No | — |
--isolatedDeploymentsVolume [boolean] | boolean | No | — |
--no-isolatedDeploymentsVolume | boolean | No | — |
--pullImages [boolean] | boolean | No | — |
--no-pullImages | boolean | No | — |
--triggerType <value> | string | No | push, tag |
--composeStatus <value> | string | No | idle, running, done, error |
--icon <value> | string | No | — |
--environmentId <value> | string | No | — |
--createdAt <value> | string | No | — |
--watchPaths <json> | array | No | — |
--githubId <value> | string | No | — |
--gitlabId <value> | string | No | — |
--bitbucketId <value> | string | No | — |
--giteaId <value> | string | No | — |
--serviceNetworks <json> | array | No | — |
--profile <name> | string | No | — |