Browse Source

Run script for release managment

pull/235/head
Eduard Tomas 7 years ago
parent
commit
1cc9e82259
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      cli-linux/run.sh

+ 7
- 0
cli-linux/run.sh 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

Loading…
Cancel
Save