Files
renovate-config/config.js
Akumatic b057941def
All checks were successful
renovate / renovate (push) Successful in 1m47s
Add hostRule for internal fetching
Renovate communicates with the API over the local port, but gets the public clone url back. 
Use a hostrule to override the public adress with the internal one
2026-01-28 17:18:35 +00:00

22 lines
623 B
JavaScript

module.exports = {
"platform": "gitea",
"endpoint": "http://server:3000/api/v1",
"username": "renovate-bot",
"gitAuthor": "Renovate <renovate.bot@akumatic.eu>",
"autodiscover": true,
"onboardingConfigFileName": "renovate.json",
"onboardingConfig": {
"extends": ["config:recommended"],
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
},
"optimizeForDisabled": true,
hostRules: [
{
matchHost: "git.akumatic.eu",
hostType: "gitea",
resolveHost: "server",
protocol: "http",
port: 3000
}
]
};