Use forego fork with flat that disables colors
Cologing in Docker logs breaks NGINX logs parsing in logstash
This commit is contained in:
parent
65628d02b6
commit
ea9c2db2a8
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ RUN echo "daemon off;" >> /etc/nginx/nginx.conf \
|
||||||
&& sed -i 's/worker_processes 1/worker_processes auto/' /etc/nginx/nginx.conf
|
&& sed -i 's/worker_processes 1/worker_processes auto/' /etc/nginx/nginx.conf
|
||||||
|
|
||||||
# Install Forego
|
# Install Forego
|
||||||
ADD https://github.com/jwilder/forego/releases/download/v0.16.1/forego /usr/local/bin/forego
|
ADD https://github.com/binfalse/forego/releases/download/20190107-stripped-colors/forego /usr/local/bin/forego
|
||||||
RUN chmod u+x /usr/local/bin/forego
|
RUN chmod u+x /usr/local/bin/forego
|
||||||
|
|
||||||
ENV DOCKER_GEN_VERSION 0.7.4
|
ENV DOCKER_GEN_VERSION 0.7.4
|
||||||
|
@ -34,4 +34,4 @@ ENV DOCKER_HOST unix:///tmp/docker.sock
|
||||||
VOLUME ["/etc/nginx/certs", "/etc/nginx/dhparam"]
|
VOLUME ["/etc/nginx/certs", "/etc/nginx/dhparam"]
|
||||||
|
|
||||||
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
||||||
CMD ["forego", "start", "-r"]
|
CMD ["forego", "start", "-r", "--nocolor"]
|
||||||
|
|
Loading…
Reference in a new issue