gitlab-runner - allow to add limits to dind container
This commit is contained in:
parent
ff74f167ba
commit
b3d9a96316
@ -51,4 +51,11 @@ services:
|
|||||||
logging:
|
logging:
|
||||||
driver: syslog
|
driver: syslog
|
||||||
options:
|
options:
|
||||||
tag: docker_gitlab-runner
|
tag: docker_gitlab-runner
|
||||||
|
{% if gitlab_runner_dind_limits is defined %}
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '{{ gitlab_runner_dind_limits_cpus | default("4") }}'
|
||||||
|
memory: {{ gitlab_runner_dind_limits_memory | default("8G") }}
|
||||||
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user