Make the CPU limit on ClamAV configurable via an env var.

This commit is contained in:
Ivaylo Novakov 2021-11-16 13:58:54 +01:00
parent 6f20d223b1
commit 588e622c96
No known key found for this signature in database
GPG Key ID: 06B9354AB08BE9C6
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '0.50' cpus: '${CLAMAV_CPU:-0.50}'
networks: networks:
shared: shared:
ipv4_address: 10.10.10.100 ipv4_address: 10.10.10.100