Add Pangolin Compose Stack

This commit is contained in:
2025-05-03 00:01:11 +02:00
commit 3aab11e8fc
2 changed files with 79 additions and 0 deletions

13
update.sh Normal file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
cd $(dirname $0)
local_head=$(git rev-parse HEAD)
upstream_ref=$(git rev-parse --abbrev-ref @{u} | sed 's/\// /')
remote_head=$(git ls-remote $upstream_ref | cut -f1)
if [[ $local_head != $remote_head ]]; then
git pull
docker compose pull
docker compose up -d
fi