Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion compose/attribute.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down