From 86f88084d01c4b40f7ce6b1135ed810d4e16c44b Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Fri, 9 Mar 2018 16:31:28 +0100 Subject: [PATCH] docs: add docker guide to self-hosting doc --- docs/self-hosting.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/self-hosting.md b/docs/self-hosting.md index 24df91855b..11aa029acb 100644 --- a/docs/self-hosting.md +++ b/docs/self-hosting.md @@ -4,10 +4,25 @@ Although Renovate is now best known as a "service" via the GitHub App, that serv ## Install +#### npmjs + ``` $ npm install -g renovate ``` +#### Docker + +Renovate is available for Docker via an automated build [renovate/renovate](https://https://hub.docker.com/r/renovate/renovate/). It builds `latest` based on the `master` branch and all semver tags are published too. All the following are valid: + +``` +$ docker run renovate/renovate +$ docker run renovate/renovate:11.32.3 +$ docker run renovate/renovate:11.32 +$ docker run renovate/renovate 11 +``` + +If you wish to configure Renovate using a `config.js` file then map it to `/src/config.js` using Docker volumes. + ## Authentication You need to select a repository user for `renovate` to assume the identity of, -- GitLab