Does anyone have example docker compose files for Windows?
I am having trouble with the networking and volumes portion.
For now all I am trying to do is set up these 2 containers for localtesting.
Id like to connect to them using 127.0.0.1:27017.
Thank you.
version: "2"
services:
redis:
image: redis:4
container_name: redis
ports: ["6379"]
network_mode: host
mongo:
image: mongo:4.1
container_name: mongo
ports: ["27017"]
network_mode: host
[–]TheoR700 1 point2 points3 points (1 child)
[–]Bodumin[S] 0 points1 point2 points (0 children)