diff --git a/Dockerfile b/Dockerfile index db5e99e..ed21510 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,17 @@ FROM debian:latest MAINTAINER Kameron Kenny -LABEL version="20240618.1.3" +LABEL version="20240618.1.4" LABEL description="Debian Based syslog-ng" RUN apt-get update RUN apt-get -y upgrade +RUN apt-get -y install procps systemctl vim systemd RUN apt-get -y install syslog-ng syslog-ng-core syslog-ng-mod-add-contextual-data syslog-ng-mod-amqp syslog-ng-mod-geoip2 syslog-ng-mod-getent syslog-ng-mod-http syslog-ng-mod-journal syslog-ng-mod-map-value-pairs syslog-ng-mod-slog syslog-ng-mod-smtp syslog-ng-mod-snmp syslog-ng-mod-tag-parser syslog-ng-mod-xml-parser syslog-ng-scl -RUN mkdir -p /config -COPY config /config +RUN systemctl enable syslog-ng + +COPY config/syslog-ng.conf /etc/syslog-ng/syslog-ng.conf RUN mkdir -p /config/GeoIP COPY data/GeoIP/GeoLite2-City.mmdb /config/GeoIP/GeoLite2-City.mmdb diff --git a/docker-compose.yml b/docker-compose.yml index 280888f..f0bcdd5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: syslog-ng: build: dockerfile: Dockerfile - image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:240618.1.3 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:240618.1.4 container_name: syslog-ng # environment: #- PUID=0