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:
Sheogorath 2021-01-16 14:59:41 +01:00 committed by Saibotk
parent 7a2fda140c
commit 45baf159d9
No known key found for this signature in database
GPG key ID: A3299C587D5DF523

View file

@ -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 }}'