From 15b2adf766fb6d143741257cc376113ff7147983 Mon Sep 17 00:00:00 2001 From: Damien Arnodo Date: Sun, 1 Feb 2026 10:16:43 +0000 Subject: [PATCH] docs: add PG_PASSWORD secret and manual run instructions --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 6950210..e78624d 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ Dans **Settings → Secrets**, ajouter : | `S3_ACCESS_KEY` | Access key Garage | | `S3_SECRET_KEY` | Secret key Garage | | `S3_ENDPOINT_URL` | `https://s3.taila5ad8.ts.net` | +| `PG_PASSWORD` | Mot de passe PostgreSQL (netbox) | ## Déploiement manuel @@ -36,6 +37,7 @@ export PREFECT_API_URL=https://prefect.taila5ad8.ts.net/api export AWS_ACCESS_KEY_ID=xxx export AWS_SECRET_ACCESS_KEY=xxx export AWS_ENDPOINT_URL=https://s3.taila5ad8.ts.net +export PG_PASSWORD=xxx python setup_blocks.py python deploy.py @@ -46,9 +48,19 @@ python deploy.py | Block | Type | Usage | |-------|------|-------| | `garage-credentials` | `AwsCredentials` | Credentials S3 pour Garage | +| `netbox-db-password` | `Secret` | Mot de passe PostgreSQL | ## Flows déployés | Flow | Schedule | Description | |------|----------|-------------| | `pg-backup-daily` | `0 2 * * *` | Backup quotidien à 2h | + +## Lancement manuel + +Dans l'UI Prefect : **Deployments** → **pg-backup-daily** → **Run** → **Quick Run** + +Ou via CLI : +```bash +prefect deployment run 'pg-backup/pg-backup-daily' +```