mongo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

11 lines
281 B

sudo mkdir -p /var/lab/mongo_replica
sudo mkdir -p /var/lab/swarmexec
sudo touch /var/lab/mongo_replica.log
env MONGOnode1=mtoje636wza8b0pxvhj7ewto3 \
env MONGOnode2=teab4qgrb17mb5sv2a8ex599g \
env MONGOnode3=st6ebl5y2kjvgjthq88v6r2fs \
docker stack deploy -c stack.yml mongo