traefik: Increase memory limits for tor container

Apparently 32mb are a bit too little for the DHT. In case a node has no
swap configured, it'll never be able to sue the `memswap_limit`,
resulting in the OOM death of the container on startup.

This patch will fix this problem by doubling the low memory limit for
the container.
This commit is contained in:
Sheogorath 2021-05-08 02:18:04 +02:00 committed by saibotk
parent ab6570dc9e
commit 36e5ccffbc
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -40,8 +40,8 @@ services:
{% if traefik_tor_enabled %}
tor:
image: quay.io/sheogorath/tor:{{ traefik_tor_version }}
mem_limit: 32mb
memswap_limit: 64mb
mem_limit: 64mb
memswap_limit: 128mb
read_only: true
depends_on:
- proxy