Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added clam-av module and settings #410

Merged
merged 1 commit into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'
Loading