...
Setting | Input Type | Description | Example |
---|---|---|---|
Run Container | Boolean | Should 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 Name | Groovy | Groovy script to determine what the started container name should be. Be sure to enclose literal strings in quotes. | "myapp-"+FD_ENVIRONMENT_CODE.toLowerCase() |
Volumes | Groovy | 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" |
Ports | Groovy | 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 Params | Groovy | Any additional parameters to the container, which will be added to the run command. | "--cidfile /test/file.cid -d -e MYVAR1" |
...