Docker-Portainer/update.sh
2025-04-10 21:25:23 +00:00

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