Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SettingInput TypeDescriptionExample
Run ContainerBooleanShould a container, using the built image and fields below, be started during the deploy workflow. Checking this as true will automatically add the 'deployProjectContainer' operation to your workflow as the first step.true
Container NameGroovy Groovy script to determine what the started container name should be. Be sure to enclose literal strings in quotes."myapp-"+FD_ENVIRONMENT_CODE.toLowerCase()
VolumesGroovy

Optional Groovy script of volumes to expose to the container. Separate entries by a comma. 

hostPath:containerPath,hostPath:containerPath

FD_TEMP_DIR+"C:/homedata/usermyapp/temp"

or

"C:/data/natours:/"+FD_ENVIRONMENT_CODE.toLowerCase()+":/usr/src/app/data"

PortsGroovy

Optional Groovy script of ports to expose. Separate entries by a comma. 

hostPort:containerPort,hostPort:containerPort

"80(FD_ENVIRONMENT_CODE == 'DEV' ? '80' : '89') + ":8099"
Additional ParamsGroovyAny additional parameters to the container, which will be added to the run command."--cidfile /test/file.cid -d -e MYVAR1"

...