Files
compose/renovate.json
2026-10-25 18:39:26 -07:00

40 lines
1.4 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"customManagers": [
{
"customType": "regex",
"description": "Image tags in versions.env. The variable name is the display name, so PRs say which app they are for; the image is what gets looked up.",
"managerFilePatterns": ["/^versions\\.env$/"],
"matchStrings": [
"(?:^|\\n)(?<depName>[A-Z0-9_]+_IMAGE)=(?<packageName>[^:\\s]+):(?<currentValue>[^\\s@]+)"
],
"datasourceTemplate": "docker"
}
],
"packageRules": [
{
"description": "Name both the variable and the image in versions.env PR titles",
"matchManagers": ["custom.regex"],
"commitMessageTopic": "{{{depName}}} ({{{packageName}}})"
},
{
"description": "Database majors need a dump/restore, so never propose them",
"matchPackageNames": ["postgres", "prodrigestivill/postgres-backup-local"],
"matchUpdateTypes": ["major"],
"enabled": false
},
{
"description": "Stay on the 10.6 LTS line; 10.11 is effectively a major upgrade",
"matchPackageNames": ["mariadb"],
"allowedVersions": "/^10\\.6\\./"
},
{
"matchPackageNames": ["amir20/dozzle"],
"prBodyNotes": [
"Also bump the Dozzle agents on the TrueNAS hosts to the same tag. The hub and agents share the TLS pair baked into the image."
]
}
]
}