From 390295c844cd9464a64094714bb0d57d150ce1de Mon Sep 17 00:00:00 2001 From: lonix1 <40320097+lonix1@users.noreply.github.com> Date: Mon, 31 Jul 2023 04:17:07 +0200 Subject: [PATCH] fix: global registry docs (#2070) The [docs](https://woodpecker-ci.org/docs/administration/server-config#global-registry-setting) for global registry are missing the part that shows that the docker config must be mounted. I mounted to `root`'s home directory, as that is the user running the container. --- docs/docs/30-administration/10-server-config.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/docs/30-administration/10-server-config.md b/docs/docs/30-administration/10-server-config.md index 9c111257d..0fff928b5 100644 --- a/docs/docs/30-administration/10-server-config.md +++ b/docs/docs/30-administration/10-server-config.md @@ -101,9 +101,12 @@ version: '3' services: woodpecker-server: [...] + volumes: + - [...] ++ - /home/user/.docker/config.json:/root/.docker/config.json:ro environment: - [...] -+ - WOODPECKER_DOCKER_CONFIG=/home/user/.docker/config.json ++ - WOODPECKER_DOCKER_CONFIG=/root/.docker/config.json ``` ## Handling sensitive data in docker-compose and docker-swarm