From 97018ca824bd555b5c7c89de7b4fff735a708d4b Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Wed, 16 Oct 2024 23:01:01 +0800 Subject: [PATCH] update --- .env | 3 ++- docker-compose.yml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.env b/.env index cf3fe31..5bc4792 100644 --- a/.env +++ b/.env @@ -1,4 +1,5 @@ hostname=gitlab.zziyu.cn external_url=https://gitlab.zziyu.cn email=Zengtudor@outlook.com -gitlab_root=/root/gitlab \ No newline at end of file +gitlab_root=/root/gitlab +mem_limit=2048m \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index db71422..79fe065 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,6 +4,7 @@ services: image: 'twang2218/gitlab-ce-zh:11.1.4' restart: unless-stopped hostname: $hostname + mem_limit: $mem_limit environment: TZ: 'Asia/Shanghai' GITLAB_OMNIBUS_CONFIG: |