Move all directories per theme
This commit is contained in:
8
optional/clamav/Dockerfile
Normal file
8
optional/clamav/Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM alpine
|
||||
|
||||
RUN apk add --no-cache clamav rsyslog wget clamav-libunrar
|
||||
|
||||
COPY conf /etc/clamav
|
||||
COPY start.sh /start.sh
|
||||
|
||||
CMD ["/start.sh"]
|
||||
12
optional/clamav/README.md
Normal file
12
optional/clamav/README.md
Normal file
@@ -0,0 +1,12 @@
|
||||
Mailu ClamAV container
|
||||
======================
|
||||
|
||||
ClamAV is an open source antivirus engine for detecting trojans, viruses,
|
||||
malware & other malicious threats.
|
||||
|
||||
Resources
|
||||
---------
|
||||
|
||||
* [Report issues](https://github.com/Mailu/Mailu/issues) and
|
||||
[send Pull Requests](https://github.com/Mailu/Mailu/pulls)
|
||||
in the [main Mailu repository](https://github.com/Mailu/Mailu)
|
||||
56
optional/clamav/conf/clamd.conf
Normal file
56
optional/clamav/conf/clamd.conf
Normal file
@@ -0,0 +1,56 @@
|
||||
###############
|
||||
# General
|
||||
###############
|
||||
|
||||
DatabaseDirectory /data
|
||||
TemporaryDirectory /tmp
|
||||
LogTime yes
|
||||
PidFile /run/clamd.pid
|
||||
LocalSocket /tmp/clamd.sock
|
||||
TCPSocket 3310
|
||||
Foreground yes
|
||||
|
||||
###############
|
||||
# Results
|
||||
###############
|
||||
|
||||
DetectPUA yes
|
||||
ExcludePUA NetTool
|
||||
ExcludePUA PWTool
|
||||
AlgorithmicDetection yes
|
||||
Bytecode yes
|
||||
|
||||
###############
|
||||
# Scan
|
||||
###############
|
||||
|
||||
ScanPE yes
|
||||
DisableCertCheck yes
|
||||
ScanELF yes
|
||||
DetectBrokenExecutables yes
|
||||
ScanOLE2 yes
|
||||
ScanPDF yes
|
||||
ScanSWF yes
|
||||
ScanMail yes
|
||||
PhishingSignatures yes
|
||||
PhishingScanURLs yes
|
||||
ScanHTML yes
|
||||
ScanArchive yes
|
||||
|
||||
###############
|
||||
# Scan
|
||||
###############
|
||||
|
||||
MaxScanSize 150M
|
||||
MaxFileSize 30M
|
||||
MaxRecursion 10
|
||||
MaxFiles 15000
|
||||
MaxEmbeddedPE 10M
|
||||
MaxHTMLNormalize 10M
|
||||
MaxHTMLNoTags 2M
|
||||
MaxScriptNormalize 5M
|
||||
MaxZipTypeRcg 1M
|
||||
MaxPartitions 128
|
||||
MaxIconsPE 200
|
||||
PCREMatchLimit 10000
|
||||
PCRERecMatchLimit 10000
|
||||
19
optional/clamav/conf/freshclam.conf
Normal file
19
optional/clamav/conf/freshclam.conf
Normal file
@@ -0,0 +1,19 @@
|
||||
###############
|
||||
# General
|
||||
###############
|
||||
|
||||
DatabaseDirectory /data
|
||||
LogSyslog yes
|
||||
LogTime yes
|
||||
PidFile /run/clamav/freshclam.pid
|
||||
DatabaseOwner root
|
||||
|
||||
###############
|
||||
# Updates
|
||||
###############
|
||||
|
||||
DatabaseMirror database.clamav.net
|
||||
ScriptedUpdates yes
|
||||
NotifyClamd /etc/clamav/clamd.conf
|
||||
SafeBrowsing yes
|
||||
Bytecode yes
|
||||
10
optional/clamav/start.sh
Executable file
10
optional/clamav/start.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Bootstrap the database if clamav is running for the first time
|
||||
[ -f /data/main.cvd ] || freshclam
|
||||
|
||||
# Run the update daemon
|
||||
freshclam -d -c 6
|
||||
|
||||
# Run clamav
|
||||
clamd
|
||||
8
optional/radicale/Dockerfile
Normal file
8
optional/radicale/Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM alpine:edge
|
||||
|
||||
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
||||
&& apk add --no-cache radicale@testing py-dulwich@testing
|
||||
|
||||
COPY radicale.conf /radicale.conf
|
||||
|
||||
CMD radicale -f -S -C /radicale.conf
|
||||
32
optional/radicale/radicale.conf
Normal file
32
optional/radicale/radicale.conf
Normal file
@@ -0,0 +1,32 @@
|
||||
[server]
|
||||
hosts = 0.0.0.0:5232, [::]:5232
|
||||
daemon = False
|
||||
ssl = False
|
||||
dns_lookup = False
|
||||
realm = Radicale - Password Required
|
||||
base_prefix = /webdav/
|
||||
|
||||
[encoding]
|
||||
request = utf-8
|
||||
stock = utf-8
|
||||
|
||||
[well-known]
|
||||
|
||||
[auth]
|
||||
type = IMAP
|
||||
imap_hostname = front
|
||||
imap_port = 10143
|
||||
imap_ssl = False
|
||||
|
||||
[git]
|
||||
|
||||
[rights]
|
||||
type = owner_only
|
||||
|
||||
[storage]
|
||||
type = filesystem
|
||||
filesystem_folder = /data
|
||||
|
||||
[logging]
|
||||
|
||||
[headers]
|
||||
Reference in New Issue
Block a user