Files
Docker-Portainer/update.sh

10 lines
126 B
Bash
Executable File

#!/usr/bin/env bash
cd $(dirname $0)
if [[ $(git fetch) ]]; then
git pull
docker-compose pull
docker-compose up -d
fi