justmeandopensource / learn-mongodb

MongoDB stuff
92 stars 128 forks source link

Could example how to use `Mongos Router` with 2 or 3 nodes? #3

Closed thearabbit closed 5 years ago

thearabbit commented 5 years ago

Could example how to use Mongos Router with 2 or 3 nodes?

version: "3"

services:
  mongos:
    container_name: mongos
    image: mongo:4.0.6
    command: mongos --configdb cfgrs/192.168.0.102:40001,192.168.0.102:40002,192.168.0.102:40003 --bind_ip 0.0.0.0 --port 27017
    ports:
      - 60000:27017
...............
justmeandopensource commented 5 years ago

HI Theara, I don't monitor github issues. For any questions/issues, please use YouTube chat section in the appropriate videos so that other viewers can also benefit from the discussion. Thanks.