docker-SemanticScuttle-stack/start_or_update.sh
2019-08-05 11:38:26 +02:00

7 lines
356 B
Bash
Executable File

#!/bin/bash
unset VERSION_APACHE_FPM
unset VERSION_PHP_FPM
VERSION_APACHE_FPM=$(git ls-remote ssh://git@git.scimetis.net:2222/yohan/docker-apache-for-fpm.git| head -1 | cut -f 1|cut -c -10) \
VERSION_PHP_FPM=$(git ls-remote ssh://git@git.scimetis.net:2222/yohan/docker-php5-fpm.git| head -1 | cut -f 1|cut -c -10) \
sudo -E bash -c 'docker-compose up -d'