Homelab Troubleshooting

Tips on running a Linux server and docker.

User Tools

Site Tools


whoogle

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
whoogle [2021/08/28 12:58] alexk7110whoogle [2021/08/28 14:58] (current) alexk7110
Line 3: Line 3:
 <code yaml docker-compose.yml> <code yaml docker-compose.yml>
 --- ---
 +# You cant use mem_limit in a 3.x docker-compose file in non swarm mode
 +# see https://github.com/docker/compose/issues/4513
 +
 version: "2.4" version: "2.4"
  
Line 11: Line 14:
     restart: unless-stopped     restart: unless-stopped
     pids_limit: 50     pids_limit: 50
-    mem_limit: 256mb +    mem_limit: 256mb 
-    memswap_limit: 256mb+    memswap_limit: 256mb
     # user debian-tor from tor package     # user debian-tor from tor package
     user: '102'     user: '102'
whoogle.1630144692.txt.gz · Last modified: 2021/08/28 12:58 by alexk7110