@crossdelta/infrastructure 0.2.12 → 0.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +21 -30
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -10,36 +10,27 @@ Infrastructure-as-Code helpers for deploying microservices to DigitalOcean with
10
10
 
11
11
  ## Architecture Overview
12
12
 
13
- ```
14
- +-----------------------------------------------------------------------------+
15
- | DigitalOcean |
16
- | +-----------------------------------------------------------------------+ |
17
- | | App Platform | |
18
- | | +-------------+ +-------------+ +-------------+ | |
19
- | | | frontend | | api | | worker | | |
20
- | | | (public) | | (public) | | (internal) | | |
21
- | | | :3000 | | :4000 | | :4001 | | |
22
- | | +-------------+ +-------------+ +-------------+ | |
23
- | | | | | | |
24
- | +---------|----------------|----------------|---------------------------+ |
25
- | | | | |
26
- | +----------------+----------------+ |
27
- | | VPC (private network) |
28
- | v |
29
- | +-----------------------------------------------------------------------+ |
30
- | | Droplet | |
31
- | | +---------------------------------------------+ | |
32
- | | | NATS + JetStream | | |
33
- | | | :4222 (NATS) | | |
34
- | | | :8222 (HTTP monitoring) | | |
35
- | | +---------------------------------------------+ | |
36
- | | | | |
37
- | | +---------+ | |
38
- | | | Volume | (persistent storage) | |
39
- | | | /data | | |
40
- | | +---------+ | |
41
- | +-----------------------------------------------------------------------+ |
42
- +-----------------------------------------------------------------------------+
13
+ ```mermaid
14
+ graph TB
15
+ subgraph DO[DigitalOcean]
16
+ subgraph APP[App Platform]
17
+ FE[frontend :3000]
18
+ API[api :4000]
19
+ WRK[worker :4001]
20
+ end
21
+
22
+ subgraph DROP[Droplet]
23
+ NATS[NATS + JetStream]
24
+ VOL[(Volume /data)]
25
+ NATS --> VOL
26
+ end
27
+
28
+ APP -->|VPC| DROP
29
+ end
30
+
31
+ style APP fill:#e1f5fe
32
+ style DROP fill:#fff3e0
33
+ style VOL fill:#f5f5f5
43
34
  ```
44
35
 
45
36
  ### Platform Strategy
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossdelta/infrastructure",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {