Created dedicated workspace for Docker deployment configurations and scripts. Improves organization by grouping all deployment-related files together. ## New Structure - docker-stack/: Docker Compose files and deployment scripts - docker-compose-standalone.yaml - docker-compose-swarm.yml - docker-compose-debug.yml - deploy-standalone.sh - deploy-swarm.sh - README.md (deployment documentation) - package.json ## Changes - Moved all docker-compose YAML files to docker-stack/ - Moved deploy scripts to docker-stack/ - Updated VS Code workspace to include docker-stack - Updated documentation (README, CLAUDE.md) ## Deployment Workflow 1. Build: `cd web-app && ./build.sh 2.20.0` 2. Deploy: `cd docker-stack && ./deploy-standalone.sh 2.20.0` 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
18 lines
471 B
Bash
Executable File
18 lines
471 B
Bash
Executable File
#!/bin/bash
|
|
if [ "$1" == "" ] ; then
|
|
printf "\nDocker image-a version param missing"
|
|
printf "\n\nSyntax:\n\n deploy-swarm.sh 1.0.0\n\n"
|
|
exit 1
|
|
fi
|
|
|
|
printf "\nBUILD START ...\n\n"
|
|
|
|
IMAGE_VERSION=$1
|
|
COMPOSE_FILE="docker-compose-swarm.yml"
|
|
|
|
echo "Deploying with image version: $IMAGE_VERSION"
|
|
|
|
# Pass IMAGE_VERSION env var for compose variable substitution
|
|
IMAGE_VERSION="$IMAGE_VERSION" docker stack deploy \
|
|
-c "$COMPOSE_FILE" \
|
|
utility-bills-tracker |