DockerCLI/cli/command/stack/kubernetes/testdata/compose-with-expose.yml

9 lines
248 B
YAML

version: "3.7"
services:
test:
image: "some-image"
expose:
- "1" # default protocol, single port
- "2-4" # default protocol, port range
- "5/udp" # specific protocol, single port
- "6-8/udp" # specific protocol, port range