@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.
- package/README.md +21 -30
- 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
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
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
|