docker-SemanticScuttle-stack/start_or_update.sh

7 lines
356 B
Bash
Raw Normal View History

2019-08-05 09:38:26 +00:00
#!/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'