diff --git a/compose/attribute.go b/compose/attribute.go index ede6b54..9f9c8f3 100644 --- a/compose/attribute.go +++ b/compose/attribute.go @@ -43,11 +43,18 @@ func InitServicesAttributes() []Attribute { }, { Name: "ports", - InputDescription: "Expose ports", + InputDescription: "Expose ports, publish/map to host (HOST_PORT:CONTAINER_PORT)", Example: "8000:8000", IsList: true, Category: servicesCategory, }, + { + Name: "expose", + InputDescription: "Expose ports, not published/mapped to host", + Example: "8000", + IsList: true, + Category: servicesCategory, + }, { Name: "volumes", InputDescription: "Host paths or named volumes, specified as sub-options to a service",