-
-
Notifications
You must be signed in to change notification settings - Fork 487
Adding antivirus scanning capabilities with ClamAV via API calls and Add User fucntion #454
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
base: main
Are you sure you want to change the base?
Changes from all commits
4d8652d
a30e543
e67c1b3
4c28300
4697b15
718f87e
179abac
6b2c737
48d1ce5
f2f48c9
d9bb395
dff8926
e629fca
5519374
6fe7899
d4be44c
3420464
8ec2a22
55fa5ae
4fd9862
1cdbd9e
60d4a48
97ddf01
96e7123
5083935
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -16,5 +16,32 @@ services: | |||||||||||||||||||||||||
| # - HIDE_HISTORY=true # hides the history tab in the web interface, defaults to false | ||||||||||||||||||||||||||
| - TZ=Europe/Stockholm # set your timezone, defaults to UTC | ||||||||||||||||||||||||||
| # - UNAUTHENTICATED_USER_SHARING=true # for use with ALLOW_UNAUTHENTICATED=true to share history with all unauthenticated users / devices | ||||||||||||||||||||||||||
| - CLAMAV_URL=http://clam_av_api:3000/api/v1/scan | ||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: Service hostname mismatch: Prompt for AI agents
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: Hostname mismatch: Prompt for AI agents
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: Service name mismatch: Prompt for AI agents
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: Hostname mismatch: Prompt for AI agents
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: Service name mismatch: Prompt for AI agents
Suggested change
|
||||||||||||||||||||||||||
| ports: | ||||||||||||||||||||||||||
| - 3000:3000 | ||||||||||||||||||||||||||
| - 8080:3000 | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| clamav-rest-api: | ||||||||||||||||||||||||||
| image: benzino77/clamav-rest-api:latest | ||||||||||||||||||||||||||
| container_name: clamav-rest-api | ||||||||||||||||||||||||||
| restart: unless-stopped | ||||||||||||||||||||||||||
| environment: | ||||||||||||||||||||||||||
| - NODE_ENV=production | ||||||||||||||||||||||||||
| # field name expected in the multipart form | ||||||||||||||||||||||||||
| - APP_FORM_KEY=FILES | ||||||||||||||||||||||||||
| # talk to your existing ClamAV daemon | ||||||||||||||||||||||||||
| - CLAMD_IP=CLAMAV_server_IP | ||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: Prompt for AI agents
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: Placeholder value not configured: Prompt for AI agents
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: Placeholder value: Prompt for AI agents
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: Placeholder value Prompt for AI agents
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: Placeholder value not replaced: Prompt for AI agents
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: Placeholder value not replaced: Prompt for AI agents
Suggested change
|
||||||||||||||||||||||||||
| - CLAMD_PORT=3310 | ||||||||||||||||||||||||||
| # max allowed file size (here: 250 MB) | ||||||||||||||||||||||||||
| - APP_MAX_FILE_SIZE=262144000 | ||||||||||||||||||||||||||
| ports: | ||||||||||||||||||||||||||
| # outside:inside | ||||||||||||||||||||||||||
| - "3000:3000" | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| clamav: | ||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P0: YAML indentation error: The Prompt for AI agents
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P0: YAML syntax error: The Prompt for AI agents
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P0: YAML indentation error: Prompt for AI agents
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P0: YAML indentation error: This line has 3 spaces instead of 2, which breaks YAML parsing. Service definitions must be consistently indented. Prompt for AI agents
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P0: YAML indentation error: Prompt for AI agents
Suggested change
|
||||||||||||||||||||||||||
| image: clamav/clamav:latest | ||||||||||||||||||||||||||
| container_name: clamav | ||||||||||||||||||||||||||
| restart: unless-stopped | ||||||||||||||||||||||||||
| ports: | ||||||||||||||||||||||||||
| - "3310:3310" | ||||||||||||||||||||||||||
| environment: | ||||||||||||||||||||||||||
| - CLAMAV_NO_FRESHCLAMD=false | ||||||||||||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P1: Convertx injects
CLAMAV_URLpointing to a non-existent Docker hostname (clam_av_api), so every server-side ClamAV fetch fails and uploads are never actually scanned, bypassing the antivirus workflow.Prompt for AI agents