mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-11 01:55:27 +00:00
Merge pull request #128 from JensHeinrich/patch-1
Update server-setup.md
This commit is contained in:
commit
df4bca4e58
1 changed files with 9 additions and 4 deletions
|
@ -334,25 +334,30 @@ spec:
|
||||||
value: woodpecker.tools.svc.cluster.local:9000
|
value: woodpecker.tools.svc.cluster.local:9000
|
||||||
- name: DRONE_SECRET
|
- name: DRONE_SECRET
|
||||||
value: "xxx"
|
value: "xxx"
|
||||||
- name: DOCKER_HOST
|
|
||||||
value: tcp://localhost:2375
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 2
|
cpu: 2
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
|
volumeMounts:
|
||||||
|
- name: sock-dir
|
||||||
|
path: /var/run
|
||||||
- name: dind
|
- name: dind
|
||||||
image: "docker:19.03.5-dind"
|
image: "docker:19.03.5-dind"
|
||||||
env:
|
env:
|
||||||
- name: DOCKER_DRIVER
|
- name: DOCKER_DRIVER
|
||||||
value: overlay2
|
value: overlay2
|
||||||
- name: DOCKER_TLS_CERTDIR
|
|
||||||
value: "" # due to https://github.com/docker-library/docker/pull/166 & https://gitlab.com/gitlab-org/gitlab-runner/issues/4512
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 1
|
cpu: 1
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
|
volumeMounts:
|
||||||
|
- name: sock-dir
|
||||||
|
path: /var/run
|
||||||
|
volumes:
|
||||||
|
name: sock-dir
|
||||||
|
emptyDir: {}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Filtering repositories
|
## Filtering repositories
|
||||||
|
|
Loading…
Reference in a new issue