more ram for gitea and fix archives download for sure, tested and all

This commit is contained in:
Hurlu 2025-08-12 23:02:41 +02:00
parent d903b0057e
commit 96333a056a
2 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,7 @@ services:
- "traefik.http.routers.gitea.entrypoints=websecure"
- "traefik.http.routers.gitea.tls.certresolver=myhttpchallenge"
- "traefik.http.services.gitea.loadbalancer.server.port=3000"
mem_limit: 400m
mem_limit: 800m
db:
container_name: gitea_db

View File

@ -3,4 +3,6 @@ GITEA__database__HOST=db:5432
GITEA__database__NAME=gitea
GITEA__database__USER=gitea
GITEA__database__PASSWD=gitea
GITEA__repo-archive__ENABLED=false
#This one has to be disabled because downloading an archive (a .zip or .tar.gz
# also stores it in your storage, and crawling bots soon end up overwhelming your storage capacity.
GITEA__repository__DISABLE_DOWNLOAD_SOURCE_ARCHIVES=true