impostato limiti mem RAM

This commit is contained in:
piccihud 2024-12-26 15:43:44 +01:00
parent d4fc2834fc
commit 01c80883d7
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -3,6 +3,7 @@ services:
image: postgres:16-alpine
env_file: .env
restart: always
mem_limit: 256m
volumes:
- ./pgdata:/var/lib/postgresql/data
linkwarden: