gitlab: Add memory limits to role
This patch adds the missing memory limits to the role making it easier to keep GitLab in check in a machine.
This commit is contained in:
parent
7a2fda140c
commit
45baf159d9
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@ services:
|
|||
web:
|
||||
image: docker.io/gitlab/gitlab-ce:{{ gitlab_version }}
|
||||
hostname: '{{ gitlab_domain }}'
|
||||
mem_limit: 3500mb
|
||||
memswap_limit: 3756mb
|
||||
environment:
|
||||
GITLAB_OMNIBUS_CONFIG: |
|
||||
external_url 'https://{{ gitlab_domain }}'
|
||||
|
|
Loading…
Add table
Reference in a new issue