From 01c80883d749766cdd187a7afeb9310b7208a8b3 Mon Sep 17 00:00:00 2001 From: piccihud Date: Thu, 26 Dec 2024 15:43:44 +0100 Subject: [PATCH] impostato limiti mem RAM --- libretranslate/docker-compose.yml | 2 +- linkwarden/docker-compose.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libretranslate/docker-compose.yml b/libretranslate/docker-compose.yml index 2cd06a5..e33247b 100644 --- a/libretranslate/docker-compose.yml +++ b/libretranslate/docker-compose.yml @@ -9,7 +9,7 @@ services: tty: true healthcheck: test: ['CMD-SHELL', './venv/bin/python scripts/healthcheck.py'] - mem_limit: 1g + mem_limit: 2g ## Uncomment above command and define your args if necessary command: --ssl --ga-id MY-GA-ID --req-limit 100 --char-limit 500 ## Uncomment this section and the libretranslate_api_keys volume if you want to backup your API keys diff --git a/linkwarden/docker-compose.yml b/linkwarden/docker-compose.yml index 84e0866..16367ff 100644 --- a/linkwarden/docker-compose.yml +++ b/linkwarden/docker-compose.yml @@ -3,6 +3,7 @@ services: image: postgres:16-alpine env_file: .env restart: always + mem_limit: 256m volumes: - ./pgdata:/var/lib/postgresql/data linkwarden: