ballerina/docker package
Annotations
| Name | Attachement Points | Data Type | Description |
|---|---|---|---|
| Config | endpoint, service | DockerConfiguration | @docker:Config annotation to configure docker artifact generation |
| CopyFiles | endpoint, service | FileConfigs | @docker:CopyFile annotation to copy external files to docker image |
| Expose | endpoint | ExposeConfig | @docker:Expose annotation to expose ballerina ports |
Records Summary
| Record | Description | ||
|---|---|---|---|
| DockerConfiguration | Docker annotation configuration |
||
| ExposeConfig | Expose ports for docker |
||
| FileConfig | External file type for docker |
||
| FileConfigs | External File configurations for docker |
public type DockerConfiguration
Docker annotation configuration
| Field Name | Data Type | Default Value | Description |
|---|---|---|---|
| name | string |
|
|
| registry | string |
|
|
| tag | string |
|
|
| username | string |
|
|
| password | string |
|
|
| baseImage | string |
|
|
| push | boolean |
|
|
| buildImage | boolean |
|
|
| enableDebug | boolean |
|
|
| debugPort | int |
|
|
| dockerHost | string |
|
|
| dockerCertPath | string |
|
public type ExposeConfig
Expose ports for docker
public type FileConfig
External file type for docker
| Field Name | Data Type | Default Value | Description |
|---|---|---|---|
| source | string |
|
|
| target | string |
|
|
| isBallerinaConf | boolean |
|
public type FileConfigs
External File configurations for docker
| Field Name | Data Type | Default Value | Description |
|---|---|---|---|
| files | docker:FileConfig[] |
|