kompose/script/test/fixtures/host-port-protocol/compose.yaml
TessaIO 3bf98301f7
fix: expose container to host only with labels (#1880)
Signed-off-by: ahmed.g <ahmed.g@adjoe.io>
Signed-off-by: TessaIO <ahmedgrati1999@gmail.com>
2024-05-29 16:05:04 -04:00

13 lines
218 B
YAML

version: "3.3"
services:
nginx:
labels:
kompose.container.kompose.controller.port.expose: true
ports:
- target: 80
published: 80
protocol: tcp
mode: host
image: nginx