feat: add memory limits to Docker services in various configurations

This commit is contained in:
2025-08-23 04:39:17 +02:00
parent 9c85d2eea6
commit b5227230c0
21 changed files with 142 additions and 0 deletions

View File

@@ -24,6 +24,10 @@ services:
- OPENVPN_PASSWORD={{ lookup('community.general.onepassword', 'Gluetun', vault='Dotfiles', field='OPENVPN_PASSWORD') }}
- SERVER_COUNTRIES={{ lookup('community.general.onepassword', 'Gluetun', vault='Dotfiles', field='SERVER_COUNTRIES') }}
restart: always
deploy:
resources:
limits:
memory: 512M
sabnzbd:
image: lscr.io/linuxserver/sabnzbd:latest
@@ -39,6 +43,10 @@ services:
depends_on:
gluetun:
condition: service_healthy
deploy:
resources:
limits:
memory: 1G
qbittorrent:
image: lscr.io/linuxserver/qbittorrent
@@ -55,6 +63,10 @@ services:
gluetun:
condition: service_healthy
restart: always
deploy:
resources:
limits:
memory: 1G
networks:
arr_stack_net: