Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit e51e2c7

Browse files
authored
Merge pull request #2111 from WoodellJ/docker-label-support-ecs
[ECS] Add support for passing in docker labels.
2 parents 813ae99 + 1128ab8 commit e51e2c7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ecs/compatibility.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ var compatibleComposeAttributes = []string{
8484
"services.healthcheck.timeout",
8585
"services.image",
8686
"services.init",
87+
"services.labels",
8788
"services.logging",
8889
"services.logging.options",
8990
"services.networks",

ecs/convert.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ func (b *ecsAPIService) createTaskDefinition(project *types.Project, service typ
115115
DependsOnProp: dependencies,
116116
DnsSearchDomains: service.DNSSearch,
117117
DnsServers: service.DNS,
118+
DockerLabels: service.Labels,
118119
DockerSecurityOptions: service.SecurityOpt,
119120
EntryPoint: service.Entrypoint,
120121
Environment: pairs,

0 commit comments

Comments
 (0)