impostato limiti mem RAM
This commit is contained in:
parent
d4fc2834fc
commit
01c80883d7
@ -9,7 +9,7 @@ services:
|
|||||||
tty: true
|
tty: true
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ['CMD-SHELL', './venv/bin/python scripts/healthcheck.py']
|
test: ['CMD-SHELL', './venv/bin/python scripts/healthcheck.py']
|
||||||
mem_limit: 1g
|
mem_limit: 2g
|
||||||
## Uncomment above command and define your args if necessary
|
## Uncomment above command and define your args if necessary
|
||||||
command: --ssl --ga-id MY-GA-ID --req-limit 100 --char-limit 500
|
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
|
## Uncomment this section and the libretranslate_api_keys volume if you want to backup your API keys
|
||||||
|
@ -3,6 +3,7 @@ services:
|
|||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
env_file: .env
|
env_file: .env
|
||||||
restart: always
|
restart: always
|
||||||
|
mem_limit: 256m
|
||||||
volumes:
|
volumes:
|
||||||
- ./pgdata:/var/lib/postgresql/data
|
- ./pgdata:/var/lib/postgresql/data
|
||||||
linkwarden:
|
linkwarden:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user