Browse Source

create docker-compose mongo replica

master
zeus 4 years ago
parent
commit
e673673622
  1. 2
      run.sh

2
run.sh

@ -3,5 +3,5 @@
docker-compose down docker-compose down
docker-compose rm docker-compose rm
docker container rm swarmlabmongo1 swarmlabmongo2 swarmlabmongo3 docker container rm swarmlabmongo1 swarmlabmongo2 swarmlabmongo3
chmod 700 ./.docker/mongodb/file.key chmod 400 ./.docker/mongodb/file.key
docker-compose up -d docker-compose up -d

Loading…
Cancel
Save