Browse Source

create docker-compose mongo replica

master
zeus 4 years ago
parent
commit
36c1501151
  1. 1
      run.sh

1
run.sh

@ -3,4 +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
docker-compose up -d docker-compose up -d

Loading…
Cancel
Save