mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
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.
This commit is contained in:
parent
5a812e3254
commit
390295c844
1 changed files with 4 additions and 1 deletions
|
@ -101,9 +101,12 @@ version: '3'
|
||||||
services:
|
services:
|
||||||
woodpecker-server:
|
woodpecker-server:
|
||||||
[...]
|
[...]
|
||||||
|
volumes:
|
||||||
|
- [...]
|
||||||
|
+ - /home/user/.docker/config.json:/root/.docker/config.json:ro
|
||||||
environment:
|
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
|
## Handling sensitive data in docker-compose and docker-swarm
|
||||||
|
|
Loading…
Reference in a new issue