From fcfd5265a1565ce42caa04e4a624508864965f2b Mon Sep 17 00:00:00 2001 From: Roger Garcia Date: Thu, 24 Nov 2022 12:41:42 +0100 Subject: [PATCH] Added clamav image and configuration --- dd-apps/docker/clamav/clamav.yml | 27 +++++++++++++++++++++++++++ dd-ctl | 1 + dd.conf.sample | 3 +++ 3 files changed, 31 insertions(+) create mode 100644 dd-apps/docker/clamav/clamav.yml diff --git a/dd-apps/docker/clamav/clamav.yml b/dd-apps/docker/clamav/clamav.yml new file mode 100644 index 0000000..c784291 --- /dev/null +++ b/dd-apps/docker/clamav/clamav.yml @@ -0,0 +1,27 @@ +# +# Copyright © 2021,2022 GLU TECHNOLOGIES S.L. +# +# This file is part of DD +# +# DD is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or (at your +# option) any later version. +# +# DD is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. +# +# You should have received a copy of the GNU Affero General Public License +# along with DD. If not, see . +# +# SPDX-License-Identifier: AGPL-3.0-or-later +version: '3.7' +services: + dd-apps-clamav: + image: ${CLAMAV_IMG-clamav/clamav:0.105.1-7} + container_name: dd-apps-clamav + restart: unless-stopped + networks: + - dd_net \ No newline at end of file diff --git a/dd-ctl b/dd-ctl index 67673b0..1c612bc 100755 --- a/dd-ctl +++ b/dd-ctl @@ -246,6 +246,7 @@ build_compose(){ -f dd-apps/docker/redis/redis.yml \ -f dd-apps/docker/postgresql/postgresql.yml \ -f dd-apps/docker/mariadb/mariadb.yml \ + -f dd-apps/docker/clamav/clamav.yml \ -f dd-apps/docker/network.yml \ config > docker-compose.yml } diff --git a/dd.conf.sample b/dd.conf.sample index 52db7da..c805d0e 100644 --- a/dd.conf.sample +++ b/dd.conf.sample @@ -200,5 +200,8 @@ POSTGRESQL_IMG=postgres:14.1-alpine3.15 ## MINIO #MINIO_IMG=mino/minio:RELEASE.2022-01-25T19-56-04Z +## CLAMAV +#CLAMAV_IMG=clamav/clamav:0.105.1-7 + ## Network settings #NETWORK_MTU=1500