Error in config.js mounting while trying to self-host renovate using docker image in linux VM #28180
Replies: 3 comments 12 replies
-
Copy paste the file name in full instead of trying to use $PWD |
Beta Was this translation helpful? Give feedback.
-
your self-signed certificate is the problem. I don't think nodejs will ever accept it. you should create an internal rootca and add the certificate to renovate. see instructions at this link https://github.com/containerbase/base/blob/main/docs/custom-root-ca.md#custom-root-ca-certificates |
Beta Was this translation helpful? Give feedback.
-
Hi there, Please do not unnecessarily For example, never It's OK to comment in an issue or discussion after multiple days or weeks. But please, still don't Thanks, the Renovate team |
Beta Was this translation helpful? Give feedback.
-
What would you like help with?
I would like help with my configuration
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
Bitbucket
Please tell us more about your question or problem
We use bitbucket repos. Trying POC for self-hosted renovate as per documentation. I created below config.js and while I try to mount it, I get errors. can you please help what am I missing? Also, do I need any certificates? I didn't use any for now.
Below if the config.js
module.exports = {
platform: "bitbucket-server",
endpoint: "https://globalrepository.company.int",
username: "myusername",
password: "xyz", // token created from bitbucket
onboardingConfig: {
extends: ['config:base'],
},
repositories: ["XYZ/RS"],
};
I ran below command: docker run --rm -it -v $PWD/config.js:/usr/src/app/config.js -e LOG_LEVEL=debug renovate/renovate:full --include-forks=true
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions