aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-02-12 19:40:34 +0800
committerYuqian Yang <crupest@crupest.life>2025-02-12 19:40:34 +0800
commitba2a022e3b03b60abd62829bdd75f9c6f22cc8cc (patch)
treebe9c813d6cb9cf7ad0c9a1f7e268b6e91a107915 /templates
parentda82541e62ff061b8cfee4f0cafc2794a8e7fd6d (diff)
downloadcrupest-ba2a022e3b03b60abd62829bdd75f9c6f22cc8cc.tar.gz
crupest-ba2a022e3b03b60abd62829bdd75f9c6f22cc8cc.tar.bz2
crupest-ba2a022e3b03b60abd62829bdd75f9c6f22cc8cc.zip
feat(forgejo): limit memory usage.
Diffstat (limited to 'templates')
-rw-r--r--templates/docker-compose.yaml.template1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/docker-compose.yaml.template b/templates/docker-compose.yaml.template
index 6de0c12..532585b 100644
--- a/templates/docker-compose.yaml.template
+++ b/templates/docker-compose.yaml.template
@@ -129,6 +129,7 @@ services:
image: code.forgejo.org/forgejo/forgejo:10
pull_policy: always
container_name: forgejo
+ mem_limit: 800mb
environment:
- USER_UID=1000
- USER_GID=1000