Skip to content

Commit

Permalink
Merge pull request #410 from itk-dev/feature/clamav
Browse files Browse the repository at this point in the history
Added clam-av module and settings
  • Loading branch information
rimi-itk authored May 22, 2024
2 parents 4edc20d + f4c6ec9 commit 08167cf
Show file tree
Hide file tree
Showing 7 changed files with 96 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Versioning](https://semver.org/spec/v2.0.0.html).

* [PR-409](https://github.com/itk-dev/hoeringsportal/pull/409)
Enabled and configured log_stdout
* [PR-410](https://github.com/itk-dev/hoeringsportal/pull/410)
Added ClamAv module and docker containers to run it

## [4.4.0] - 2024-05-14

Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
"drupal/better_social_sharing_buttons": "^4.0",
"drupal/block_content_suggestions": "^1.0",
"drupal/captcha": "^2.0",
"drupal/clamav": "^2.0",
"drupal/color_field": "^3.0",
"drupal/config_ignore": "^3.2",
"drupal/config_import_locale": "^2.0",
Expand Down
58 changes: 57 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions config/sync/clamav.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
_core:
default_config_hash: pfrv6lPS72f5WG1UB4wHkgQV2invlHwVpaCy_mY-ClQ
enabled: true
outage_action: 0
overridden_schemes:
- library-definitions
- asset
- php-file
- translations
scan_mode: 0
verbosity: 0
mode_executable:
executable_path: /usr/bin/clamscan
executable_parameters: ''
mode_daemon_tcpip:
hostname: clamav
port: 3310
mode_daemon_unixsocket:
unixsocket: /var/clamav/clamd
1 change: 1 addition & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ module:
breakpoint: 0
captcha: 0
ckeditor5: 0
clamav: 0
color_field: 0
config: 0
config_ignore: 0
Expand Down
8 changes: 8 additions & 0 deletions docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ services:
volumes:
- .:/app:delegated

clamav:
image: clamav/clamav:1.2
networks:
- app
ports:
- '3310'
- '7357'

playwright:
# https://playwright.dev/docs/docker
# This Playwright version should match the one in `package.json`.
Expand Down
8 changes: 8 additions & 0 deletions docker-compose.server.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,11 @@ services:
image: node:18
volumes:
- .:/app:delegated

clamav:
image: clamav/clamav:1.2
networks:
- app
ports:
- '3310'
- '7357'

0 comments on commit 08167cf

Please sign in to comment.