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:
13
README.md
13
README.md
@@ -17,14 +17,15 @@ Each location record is marked with a user ID.
|
||||
|
||||
All the actions user `withUser` to fetch user ID, which is then used in all the DB operations.
|
||||
|
||||
# Monorepo Structure
|
||||
# Repository Structure
|
||||
|
||||
This repository contains multiple independent projects:
|
||||
|
||||
- **web-app/**: Next.js application for tracking utility bills
|
||||
- **docker-stack/**: Docker Compose configurations and deployment scripts
|
||||
- **housekeeping/**: Database backup and maintenance scripts
|
||||
|
||||
Each project is self-contained with its own dependencies and package.json.
|
||||
Each project is self-contained with its own dependencies and configuration.
|
||||
|
||||
## Working with Projects
|
||||
|
||||
@@ -34,6 +35,10 @@ cd web-app
|
||||
npm install
|
||||
npm run dev
|
||||
|
||||
# Deploy with Docker
|
||||
cd docker-stack
|
||||
./deploy-standalone.sh 2.20.0
|
||||
|
||||
# Housekeeping scripts
|
||||
cd housekeeping
|
||||
./db-backup--standalone.sh
|
||||
@@ -128,9 +133,11 @@ The image will be stored in the local Docker instance.
|
||||
|
||||
## Deploying Docker Service
|
||||
|
||||
From the repository root:
|
||||
From the `docker-stack/` directory:
|
||||
|
||||
```bash
|
||||
cd docker-stack
|
||||
|
||||
# Standalone deployment
|
||||
./deploy-standalone.sh 2.20.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user