Portainer updater script for docker compose

This commit is contained in:
Akumatic 2025-04-10 16:22:00 +02:00
parent d85d746aa4
commit de45ba5398

9
update.sh Executable file
View File

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