@@ -61,7 +61,7 @@ COPY --from=build /app/dist /usr/share/nginx/html
6161
6262### 2. Docker Compose Files
6363
64- #### ` docker-compose.dev .yml ` (Development)
64+ #### ` docker-compose.full .yml ` (Development)
6565** For rapid iteration with hot reload:**
6666- 5 node agents (reduced scale)
6767- Bind mounts for source code hot reload
@@ -71,11 +71,11 @@ COPY --from=build /app/dist /usr/share/nginx/html
7171- Use case: Local development (2 min setup)
7272
7373``` bash
74- docker compose -f docker-compose.dev .yml up -d
74+ docker compose -f docker-compose.full .yml up -d
7575# Access: Frontend http://localhost:3000 | Backend http://localhost:8000
7676```
7777
78- #### ` docker-compose.production .yml ` (Staging/QA)
78+ #### ` docker-compose.full .yml ` (Staging/QA)
7979** Production-grade with monitoring stack:**
8080- 50 node agents (default, scalable)
8181- Resource limits and reservations
@@ -86,11 +86,11 @@ docker compose -f docker-compose.dev.yml up -d
8686- Use case: Staging and QA environments (5 min setup)
8787
8888``` bash
89- docker compose -f docker-compose.production .yml up -d --scale node-agent=50
89+ docker compose -f docker-compose.full .yml up -d --scale node-agent=50
9090# Scales to 100 nodes: --scale node-agent=100
9191```
9292
93- #### ` docker-compose.large-scale .yml ` (Production Testnet)
93+ #### ` docker-compose.full .yml ` (Production Testnet)
9494** Optimized for 500-10,000+ nodes:**
9595- MongoDB with replication set and cache optimization
9696- Redis with memory management policies
@@ -101,7 +101,7 @@ docker compose -f docker-compose.production.yml up -d --scale node-agent=50
101101- Use case: Production testnet deployments (15 min setup)
102102
103103``` bash
104- docker compose -f docker-compose.large-scale .yml up -d --scale node-agent=500
104+ docker compose -f docker-compose.full .yml up -d --scale node-agent=500
105105# Monitor: watch -n 5 'curl http://localhost:8000/convergence | jq'
106106```
107107
@@ -174,7 +174,7 @@ docker compose -f docker-compose.large-scale.yml up -d --scale node-agent=500
174174
175175### 1. Development (2 minutes, 1GB RAM)
176176``` bash
177- docker compose -f docker-compose.dev .yml up -d
177+ docker compose -f docker-compose.full .yml up -d
178178
179179# Access
180180open http://localhost:3000 # Frontend
@@ -184,18 +184,18 @@ open http://localhost:3001 # Grafana (admin/dev)
184184
185185### 2. Production (5 minutes, 4-6GB RAM)
186186``` bash
187- docker compose -f docker-compose.production .yml up -d --scale node-agent=50
187+ docker compose -f docker-compose.full .yml up -d --scale node-agent=50
188188
189189# Scale to 100 nodes
190- docker compose -f docker-compose.production .yml up -d --scale node-agent=100
190+ docker compose -f docker-compose.full .yml up -d --scale node-agent=100
191191
192192# Monitor
193193watch -n 5 ' curl -s http://localhost:8000/convergence | jq'
194194```
195195
196196### 3. Large-Scale (15 minutes, 8-16GB+ RAM)
197197``` bash
198- docker compose -f docker-compose.large-scale .yml up -d --scale node-agent=500
198+ docker compose -f docker-compose.full .yml up -d --scale node-agent=500
199199
200200# Monitor convergence
201201docker exec sovereignmap-backend curl http://localhost:8000/convergence | jq
@@ -290,7 +290,7 @@ GRAFANA_PASSWORD=your_secure_password
290290
291291### Load with Docker Compose:
292292``` bash
293- docker compose --env-file .env -f docker-compose.production .yml up -d
293+ docker compose --env-file .env -f docker-compose.full .yml up -d
294294```
295295
296296---
@@ -346,7 +346,7 @@ Key sections:
346346
3473471 . ** Start development environment:**
348348 ``` bash
349- docker compose -f docker-compose.dev .yml up -d
349+ docker compose -f docker-compose.full .yml up -d
350350 ```
351351
3523522 . ** Access dashboards:**
@@ -356,7 +356,7 @@ Key sections:
356356
3573573 . ** Scale up for production:**
358358 ``` bash
359- docker compose -f docker-compose.production .yml up -d --scale node-agent=100
359+ docker compose -f docker-compose.full .yml up -d --scale node-agent=100
360360 ```
361361
3623624 . ** Monitor convergence:**
@@ -376,9 +376,9 @@ Key sections:
376376| ` Dockerfile.backend.optimized ` | Dockerfile | 1.8KB | Multi-stage Python backend |
377377| ` Dockerfile.frontend.optimized ` | Dockerfile | 1.1KB | Three-stage Node/nginx frontend |
378378| ` .dockerignore ` | Config | 1.1KB | Build context exclusion |
379- | ` docker-compose.dev .yml ` | Compose | 4.5KB | Development with hot reload |
380- | ` docker-compose.production .yml ` | Compose | 7.7KB | Production with monitoring |
381- | ` docker-compose.large-scale .yml ` | Compose | 6.7KB | Large-scale (500+ nodes) |
379+ | ` docker-compose.full .yml ` | Compose | 4.5KB | Development with hot reload |
380+ | ` docker-compose.full .yml ` | Compose | 7.7KB | Production with monitoring |
381+ | ` docker-compose.full .yml ` | Compose | 6.7KB | Large-scale (500+ nodes) |
382382| ` DOCKER_OPTIMIZATION.md ` | Documentation | 9.6KB | Complete setup & troubleshooting guide |
383383| ` validate-docker.sh ` | Script | 3.4KB | Validation script |
384384
0 commit comments