Add configurable report language
This commit is contained in:
@@ -59,6 +59,7 @@ PVE_API_TOKEN_ID=backup-report@pve!report
|
||||
PVE_API_TOKEN_SECRET=change-me
|
||||
REPORT_OUTPUT_DIR=/reports
|
||||
REPORT_TIMEZONE=Europe/Paris
|
||||
REPORT_LANGUAGE=fr
|
||||
PVE_VERIFY_TLS=true
|
||||
```
|
||||
|
||||
@@ -195,6 +196,7 @@ The user running the crontab must have read access to `.env` and write access to
|
||||
- 🌐 `PVE_API_URL`: URL of a reachable PVE node, e.g. `https://pve.example.invalid:8006`.
|
||||
- 🔑 `PVE_API_TOKEN_ID`: full token identifier, e.g. `backup-report@pve!report`.
|
||||
- 🔒 `PVE_API_TOKEN_SECRET`: token secret.
|
||||
- 🌍 `REPORT_LANGUAGE`: PDF report language, `fr` or `en`. Default: `fr`.
|
||||
- 🛡️ `PVE_VERIFY_TLS`: keep `true` in production; use `PVE_CA_BUNDLE` for an internal CA.
|
||||
- 🕒 `PVE_TASK_HISTORY_LIMIT`: number of recent PVE tasks inspected to find the latest backup.
|
||||
- 📜 `PVE_TASK_LOG_LIMIT`: number of lines retrieved per `vzdump` log to extract per-VM/CT detail.
|
||||
|
||||
Reference in New Issue
Block a user