feat: add Prefect worker for PostgreSQL backups #1
32
README.md
32
README.md
@@ -47,38 +47,6 @@ Generate a reusable auth key from https://login.tailscale.com/admin/settings/key
|
||||
|
||||
Once deployed: https://prefect.taila5ad8.ts.net
|
||||
|
||||
## Architecture
|
||||
|
||||
```
|
||||
┌─────────────────────────────────────────────────────────────────────────┐
|
||||
│ Tailscale Network │
|
||||
├─────────────────────────────────────────────────────────────────────────┤
|
||||
│ │
|
||||
│ ┌──────────────┐ ┌─────────────┐ ┌────────────────┐ │
|
||||
│ │ Tailscale │◀───▶│ Prefect │◀───▶│ PostgreSQL │ │
|
||||
│ │ Sidecar │ │ Server │ │ (external) │ │
|
||||
│ │ :443 │ │ :4200 │ │ │ │
|
||||
│ └──────────────┘ └──────┬──────┘ └────────────────┘ │
|
||||
│ ▲ │ │
|
||||
│ │ ┌─────▼─────┐ │
|
||||
│ │ │ Redis │ │
|
||||
│ │ │(messaging)│ │
|
||||
│ │ └───────────┘ │
|
||||
│ │ ▲ │
|
||||
│ │ ┌─────┴─────┐ │
|
||||
│ │ │ Prefect │ │
|
||||
│ │ │ Services │ │
|
||||
│ │ │(background)│ │
|
||||
│ │ └───────────┘ │
|
||||
│ │ │
|
||||
│ │ ┌─────────────────┐ ┌─────────────┐ │
|
||||
│ └─────────────▶│ Prefect Worker │◀───▶│ Garage │ │
|
||||
│ │ (pg-backup-pool)│ │ (S3) │ │
|
||||
│ └─────────────────┘ └─────────────┘ │
|
||||
│ │
|
||||
└─────────────────────────────────────────────────────────────────────────┘
|
||||
```
|
||||
|
||||
## Services
|
||||
|
||||
| Service | Description | Image |
|
||||
|
||||
Reference in New Issue
Block a user