Disable old persistence method

This is a temporary setting to achieve service stability,
a new method for data persistence is on the works
This commit is contained in:
Manuel Gutierrez
2020-01-13 17:38:13 +01:00
parent e1d3458846
commit d903f01e17
2 changed files with 2 additions and 19 deletions
+2 -8
View File
@@ -37,20 +37,14 @@ RUN curl --fail --silent -L https://github.com/just-containers/s6-overlay/releas
tar xzf /tmp/s6-overlay-amd64.tar.gz -C /usr ./bin && \
rm /tmp/s6-overlay-amd64.tar.gz
# Adding first run script and entrypoint
COPY config/data_dirs.env config/init.bash /
# Sync calls are due to https://github.com/docker/docker/issues/9547
RUN chmod 755 /init.bash && \
sync && /init.bash && \
sync && rm /init.bash
COPY config/filebeat.yml /etc/filebeat/
RUN chmod go-w /etc/filebeat/filebeat.yml
COPY config/etc/ /etc/
COPY config/data_dirs.env /
# Setting volumes
VOLUME ["/var/ossec/data"]
VOLUME ["/etc/filebeat"]