зеркало из https://github.com/docker/compose-cli.git
Add support for passing in docker labels.
This add to `services.labels` to the compatibility file and maps the labels to the ECS provided DockerLabels. Signed-off-by: Jonathan Woodell <jwoodell@snapattack.com>
This commit is contained in:
Родитель
813ae99af5
Коммит
1128ab8e9a
|
@ -84,6 +84,7 @@ var compatibleComposeAttributes = []string{
|
|||
"services.healthcheck.timeout",
|
||||
"services.image",
|
||||
"services.init",
|
||||
"services.labels",
|
||||
"services.logging",
|
||||
"services.logging.options",
|
||||
"services.networks",
|
||||
|
|
|
@ -115,6 +115,7 @@ func (b *ecsAPIService) createTaskDefinition(project *types.Project, service typ
|
|||
DependsOnProp: dependencies,
|
||||
DnsSearchDomains: service.DNSSearch,
|
||||
DnsServers: service.DNS,
|
||||
DockerLabels: service.Labels,
|
||||
DockerSecurityOptions: service.SecurityOpt,
|
||||
EntryPoint: service.Entrypoint,
|
||||
Environment: pairs,
|
||||
|
|
Загрузка…
Ссылка в новой задаче