inserito limite cpu

This commit is contained in:
piccihud 2024-12-26 15:26:42 +01:00
parent e420985c7e
commit 3b0f6b1644

View File

@ -4,6 +4,7 @@ services:
env_file: .env env_file: .env
container_name: gitea container_name: gitea
mem_limit: 1g mem_limit: 1g
cpus: 0.4 # al max 40% cpu
restart: unless-stopped restart: unless-stopped
environment: environment:
- USER_UID=102 - USER_UID=102