Update db-backup-standalone.sh to use docker compose

- Replace docker service scale with docker compose stop/start
- Update service name from utility-bills-tracker_mongo to mongo
- Reference docker-compose-standalone.yaml compose file
- Update comments to reflect container operations vs swarm service

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Knee Cola
2025-11-25 19:25:51 +01:00
parent 7f087b8e10
commit c1686c4cb8
3 changed files with 6 additions and 5 deletions

15
deploy-standalone.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
if [ "$1" == "" ] ; then
printf "\nNisi zadao verziju Docker image-a koji treba deployati"
printf "\n\nSintaksa:\n\n deploy.sh 1.0.0\n\n"
exit 1
fi
printf "\nBUILD START ...\n\n"
IMAGE_VERSION=$1
echo "Deploying $STACK_NAME with image version: $IMAGE_VERSION"
# Pass IMAGE_VERSION env var for compose variable substitution
IMAGE_VERSION="$IMAGE_VERSION" docker compose up -d