Add deploy.sh

This commit is contained in:
2025-12-29 18:28:24 +01:00
parent 6b33ba05e4
commit fdd3a29954

10
api/deploy.sh Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
git pull
docker compose down
if [ "$1" != "preserve" ]; then
docker compose build --no-cache
fi
docker compose up -d --force-recreate