Ver Fonte

init project

rubyangxg há 4 anos atrás
pai
commit
4e251f21c1
1 ficheiros alterados com 1 adições e 7 exclusões
  1. 1 7
      docker-redis-sentinel-master/start.sh

+ 1 - 7
docker-redis-sentinel-master/start.sh

@@ -1,13 +1,7 @@
 #!/bin/bash
 set -ev
-
-IP=`ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'`
-# echo $IP
-pushd `dirname $0`
-
+IP=10.26.30.216
 echo "EXTERNAL_HOST=$IP" > .env
-
-# Start the services and wait for it.
 docker-compose up --force-recreate --build -d
 docker-compose ps