Refactored.
This commit is contained in:
parent
f4a49ad4b9
commit
9dad75464b
37 changed files with 667 additions and 247 deletions
|
|
@ -27,9 +27,9 @@ Internet (HTTPS)
|
|||
├─ getmaplepress.ca → Backend API (worker-6)
|
||||
└─ getmaplepress.com → Frontend (worker-7)
|
||||
↓
|
||||
Backend Services (maple-public-prod + maple-private-prod)
|
||||
Backend Services (mapleopentech-public-prod + mapleopentech-private-prod)
|
||||
↓
|
||||
Databases (maple-private-prod only)
|
||||
Databases (mapleopentech-private-prod only)
|
||||
├─ Cassandra: 3-node cluster (workers 2,3,4) - RF=3, QUORUM
|
||||
├─ Redis: Single instance (worker-1/manager)
|
||||
└─ Meilisearch: Single instance (worker-5)
|
||||
|
|
@ -51,7 +51,7 @@ Internet (HTTPS)
|
|||
- Command-line tools verification
|
||||
|
||||
**[00-network-architecture.md](00-network-architecture.md)** - Network design
|
||||
- Network segmentation strategy (`maple-private-prod` vs `maple-public-prod`)
|
||||
- Network segmentation strategy (`mapleopentech-private-prod` vs `mapleopentech-public-prod`)
|
||||
- Security principles (defense in depth)
|
||||
- Service communication patterns
|
||||
- Firewall rules overview
|
||||
|
|
@ -360,13 +360,13 @@ setup/
|
|||
|
||||
### Network Architecture
|
||||
|
||||
**`maple-private-prod` (overlay network):**
|
||||
**`mapleopentech-private-prod` (overlay network):**
|
||||
- All databases (Cassandra, Redis, Meilisearch)
|
||||
- Backend services (access to databases)
|
||||
- **No internet access** (security)
|
||||
- Internal-only communication
|
||||
|
||||
**`maple-public-prod` (overlay network):**
|
||||
**`mapleopentech-public-prod` (overlay network):**
|
||||
- Caddy reverse proxies
|
||||
- Backend services (receive HTTP requests)
|
||||
- Ports 80/443 exposed to internet
|
||||
|
|
@ -447,7 +447,7 @@ docker logs <container-id>
|
|||
docker service inspect maplepress_backend
|
||||
|
||||
# Check network
|
||||
docker network inspect maple-private-prod
|
||||
docker network inspect mapleopentech-private-prod
|
||||
|
||||
# List configs
|
||||
docker config ls
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue