Skip to content

Docker Compose - Process Steps

Create Child Resources

Create child resources of the component from Compose application resources. Dynamically generate an overrides file for docker-compose.yml based on the selected component versions at deployment.

NameTypeDescriptionRequired
Component TemplateStringThe template to use when creating components from Compose application resources. You can use component templates to store different sets of registry credentials.No
Compose FilesStringA list of paths to Compose YAML files, separated by newline characters. The default Compose file is docker-compose.yml.No

Launch Docker Compose Application

Start all of the application services that are defined in a Compose file. Invoke docker-compose up for compose file version less than or equal 2, and docker stack deploy when version is 3+.This specialized step is expected to be follow the Create Resource Tree step.

NameTypeDescriptionRequired
Additional OptionsStringSpecify additional command-line options for the docker-compose up command.No
Compose FilesStringA list of paths to Compose YAML files, separated by newline characters. The default Compose file is docker-compose.yml.No
Do Not Delete ScriptBooleanSelect to save the plugins generated executable script to analyze and run manually later.No
Environment Script PathsStringSpecify the paths to shell scripts to run before the Docker Compose command runs. Typically, this property is used to run a Docker environment script. This property is utilized only on *nix machines.No
Project NameStringSpecify an alternate project name. By default, the project name is the directory name.No
Stack NameStringName to give to the stack when compose file version is 3+.No
docker-compose Command PathStringFull path to the docker-compose executable, or command name (docker-compose) if it is on the $PATH environment variable. Default value is docker-compose.No

Run Docker Compose

Run any docker-compose command through this generalized step. It is highly suggested to use a commands specific step if available.

NameTypeDescriptionRequired
Command Options and ServicesStringList of command specific options and services. Input will be placed directly onto the command line.No
Compose CommandEnumeration:
  • build
  • bundle
  • config
  • create
  • down
  • events
  • exec
  • help
  • kill
  • logs
  • pause
  • port
  • ps
  • pull
  • push
  • restart
  • rm
  • run
  • scale
  • start
  • stop
  • unpause
  • up | Select the docker-compose command to run. | Yes | | Compose Files | String | A list of paths to Compose YAML files, separated by newline characters. The default Compose file is docker-compose.yml. | No | | Compose Options | String | Specify additional command-line options for the general docker-compose command. | No | | Do Not Delete Script | Boolean | Select to save the plugins generated executable script to analyze and run manually later. | No | | Environment Script Paths | String | Specify the paths to shell scripts to run before the Docker Compose command runs. Typically, this property is used to run a Docker environment script. This property is utilized only on *nix machines. | No | | Project Name | String | Specify an alternate project name. By default, the project name is the directory name. | No | | docker-compose Command Path | String | Full path to the docker-compose executable, or command name (docker-compose) if it is on the $PATH environment variable. Default value is docker-compose. | No |

Scale Docker Compose Application

Scale a service by assigning a number of available containers.(docker-compose scale)

NameTypeDescriptionRequired
Additional OptionsStringSpecify additional command-line options for the docker-compose Scale command.No
Compose FilesStringA list of paths to Compose YAML files, separated by newline characters. The default Compose file is docker-compose.yml.No
Do Not Delete ScriptBooleanSelect to save the plugins generated executable script to analyze and run manually later.No
Environment Script PathsStringSpecify the paths to shell scripts to run before the Docker Compose command runs. Typically, this property is used to run a Docker environment script. This property is utilized only on *nix machines.No
Project NameStringSpecify an alternate project name. By default, the project name is the directory name.No
Service and Container PairsStringList of services and number of container pairs delimited by newlines or commas. Each pair is separated by an equals (=) sign. For example: service=numYes
TimeoutStringSpecify in seconds a shutdown timeout. Default is 10 seconds.No
docker-compose Command PathStringFull path to the docker-compose executable, or command name (docker-compose) if it is on the $PATH environment variable. Default value is docker-compose.No