diff --git a/config.js b/config.js index c7a534e..79f6e68 100644 --- a/config.js +++ b/config.js @@ -10,4 +10,15 @@ module.exports = { }, optimizeForDisabled: true, persistRepoData: true, + hostRules: [ + { + // This rule applies to any host that Renovate's internal Git client tries to connect to + // that matches 'crunchy-orchestrator:3000'. + matchHost: 'crunchy-orchestrator:3000', + // Instead of crunchy-orchestrator:3000, use gitea-server:3000 + replaceHost: 'gitea-server:3000', + // Ensure the token is also applied for this replacement host + token: process.env.RENOVATE_TOKEN, // Use the same token you pass via env + }, + ], }; \ No newline at end of file