2
I have the following file docker-compose.yml
and would like to expose some of the doors as UDP.
version: "3.0"
services:
myservice:
image: "my/service"
ports:
- "40061:4061"
- "40062:4062"
- "5684:5684" <--- UDP
- "5683:5683" <--- UDP
mongo:
image: "mongo:3.4"
It seems that the default is to expose these ports as TCP, so the external service is not accessing.
How the Docker-Compose configuration would look so that it was possible to expose these ports as UDP?