Run script for release managment

This commit is contained in:
Eduard Tomas 2017-04-25 12:28:21 +02:00
parent 8148dbe196
commit 1cc9e82259

7
cli-linux/run.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
docker images |grep -v REPOSITORY|awk '{print $1}'|xargs -L1 docker pull
export ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP=$(curl ipinfo.io/ip)
docker-compose up -f docker-compose.images.yml -f docker-compose.prod.yml