Coolify fluent-bit image

This commit is contained in:
Andras Bacsai 2022-09-15 09:47:54 +02:00
parent 31d9740aac
commit 7cc58e7e84
4 changed files with 5 additions and 3 deletions

View File

@ -21,11 +21,10 @@ services:
networks: networks:
- coolify-infra - coolify-infra
fluent-bit: fluent-bit:
image: fluent/fluent-bit:1.9.8 image: coollabsio/coolify-fluent-bit:1.9.8
container_name: coolify-fluentbit container_name: coolify-fluentbit
volumes: volumes:
- 'coolify-logs:/app/logs' - 'coolify-logs:/app/logs'
- /app/fluentbit/:/fluent-bit/etc/
networks: networks:
- coolify-infra - coolify-infra
networks: networks:

View File

@ -0,0 +1,3 @@
FROM fluent/fluent-bit:1.9.8
COPY ./fluent-bit.conf /fluent-bit/etc/fluent-bit.conf
COPY ./parsers.conf /fluent-bit/etc/parsers.conf

View File

@ -1,5 +1,5 @@
[SERVICE] [SERVICE]
Parsers_file /fluent-bit/etc/parser.conf Parsers_file /fluent-bit/etc/parsers.conf
Flush 1 Flush 1
Grace 30 Grace 30
[INPUT] [INPUT]