mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 10:05:00 +02:00
Move filebeat to its own container
This commit is contained in:
parent
d148eeddfb
commit
ce41f60888
6 changed files with 72 additions and 37 deletions
11
Dockerfile
11
Dockerfile
|
@ -119,17 +119,6 @@ RUN \
|
|||
rm -f /etc/postsrsd.secret && \
|
||||
rm -f /etc/cron.daily/00logwatch
|
||||
|
||||
# install filebeat for logging
|
||||
# SKIP and run in an external container instead
|
||||
#RUN curl https://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add - && \
|
||||
# echo "deb http://packages.elastic.co/beats/apt stable main" | tee -a /etc/apt/sources.list.d/beats.list && \
|
||||
# apt-get update -q --fix-missing && \
|
||||
# apt-get -y install --no-install-recommends \
|
||||
# filebeat \
|
||||
# && apt-get clean \
|
||||
# && rm -rf /var/lib/apt/lists/*
|
||||
#COPY target/filebeat.yml.tmpl /etc/filebeat/filebeat.yml.tmpl
|
||||
|
||||
RUN echo "0 */6 * * * clamav /usr/bin/freshclam --quiet" > /etc/cron.d/clamav-freshclam && \
|
||||
chmod 644 /etc/clamav/freshclam.conf && \
|
||||
freshclam && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue