run.sh 153 B

123456
  1. #!/bin/bash
  2. git pull
  3. docker rm -f mysql-master mysql-slave > /dev/null 2>&1
  4. docker-compose rm -f > /dev/null 2>&1
  5. docker-compose build
  6. docker-compose up