refactor: create docker-stack workspace for deployment configs
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>
This commit is contained in:
18
docker-stack/deploy-standalone.sh
Executable file
18
docker-stack/deploy-standalone.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
if [ "$1" == "" ] ; then
|
||||
printf "\nDocker image-a version param missing"
|
||||
printf "\n\nSyntax:\n\n deploy-standalone.sh 1.0.0\n\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
printf "\nBUILD START ...\n\n"
|
||||
|
||||
IMAGE_VERSION=$1
|
||||
COMPOSE_FILE="docker-compose-standalone.yaml"
|
||||
|
||||
echo "Deploying with image version: $IMAGE_VERSION"
|
||||
|
||||
# Pass IMAGE_VERSION env var for compose variable substitution
|
||||
IMAGE_VERSION="$IMAGE_VERSION" docker compose \
|
||||
-f "$COMPOSE_FILE" \
|
||||
up -d
|
||||
Reference in New Issue
Block a user