Updated the graylog image to pull in the GeoIP when built.

To update the GeoIP all you need to do is rebuild the image
(docker-compose build)
This commit is contained in:
MatthewJSalerno
2019-11-22 23:43:42 -05:00
parent c3d4f73505
commit 1051c95fca
4 changed files with 13 additions and 4 deletions

View File

@@ -0,0 +1,7 @@
FROM graylog/graylog:3.1
# Probably a bad idea, but it works for now
USER root
RUN mkdir -pv /etc/graylog/server/
COPY ./getGeo.sh /etc/graylog/server/
RUN chmod +x /etc/graylog/server/getGeo.sh && /etc/graylog/server/getGeo.sh
USER graylog