Using HTTPS instead of SSH to query Git repo so the SSH key is not needed.
This commit is contained in:
parent
2dff049caa
commit
f7b94ab289
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
# --force-recreate is used to recreate container when crontab file has changed
|
||||
unset VERSION_ELASTICSEARCH
|
||||
VERSION_ELASTICSEARCH=$(git ls-remote ssh://git@git.scimetis.net:2222/yohan/docker-elasticsearch.git| head -1 | cut -f 1|cut -c -10) \
|
||||
VERSION_ELASTICSEARCH=$(git ls-remote https://git.scimetis.net/yohan/docker-elasticsearch.git| head -1 | cut -f 1|cut -c -10) \
|
||||
sudo -E bash -c 'docker-compose up -d --force-recreate'
|
||||
|
Loading…
Reference in New Issue
Block a user