Added clamav image and configuration

GON-3874-DD-moodle
Roger Garcia 2022-11-24 12:41:42 +01:00 committed by Evilham
parent 09fec74915
commit fcfd5265a1
No known key found for this signature in database
GPG Key ID: AE3EE30D970886BF
3 changed files with 31 additions and 0 deletions

View File

@ -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 <https://www.gnu.org/licenses/>.
#
# 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

1
dd-ctl
View File

@ -246,6 +246,7 @@ build_compose(){
-f dd-apps/docker/redis/redis.yml \ -f dd-apps/docker/redis/redis.yml \
-f dd-apps/docker/postgresql/postgresql.yml \ -f dd-apps/docker/postgresql/postgresql.yml \
-f dd-apps/docker/mariadb/mariadb.yml \ -f dd-apps/docker/mariadb/mariadb.yml \
-f dd-apps/docker/clamav/clamav.yml \
-f dd-apps/docker/network.yml \ -f dd-apps/docker/network.yml \
config > docker-compose.yml config > docker-compose.yml
} }

View File

@ -200,5 +200,8 @@ POSTGRESQL_IMG=postgres:14.1-alpine3.15
## MINIO ## MINIO
#MINIO_IMG=mino/minio:RELEASE.2022-01-25T19-56-04Z #MINIO_IMG=mino/minio:RELEASE.2022-01-25T19-56-04Z
## CLAMAV
#CLAMAV_IMG=clamav/clamav:0.105.1-7
## Network settings ## Network settings
#NETWORK_MTU=1500 #NETWORK_MTU=1500