From 7cc58e7e84469a1a6338aead149b026d9abad0e9 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 15 Sep 2022 09:47:54 +0200 Subject: [PATCH] Coolify fluent-bit image --- docker-compose.yaml | 3 +-- others/fluentbit/Dockerfile | 3 +++ others/fluentbit/fluent-bit.conf | 2 +- others/fluentbit/{parser.conf => parsers.conf} | 0 4 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 others/fluentbit/Dockerfile rename others/fluentbit/{parser.conf => parsers.conf} (100%) diff --git a/docker-compose.yaml b/docker-compose.yaml index 34d0fad83..659e45959 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -21,11 +21,10 @@ services: networks: - coolify-infra fluent-bit: - image: fluent/fluent-bit:1.9.8 + image: coollabsio/coolify-fluent-bit:1.9.8 container_name: coolify-fluentbit volumes: - 'coolify-logs:/app/logs' - - /app/fluentbit/:/fluent-bit/etc/ networks: - coolify-infra networks: diff --git a/others/fluentbit/Dockerfile b/others/fluentbit/Dockerfile new file mode 100644 index 000000000..eb0af8268 --- /dev/null +++ b/others/fluentbit/Dockerfile @@ -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 \ No newline at end of file diff --git a/others/fluentbit/fluent-bit.conf b/others/fluentbit/fluent-bit.conf index 67de89be5..864178a89 100644 --- a/others/fluentbit/fluent-bit.conf +++ b/others/fluentbit/fluent-bit.conf @@ -1,5 +1,5 @@ [SERVICE] - Parsers_file /fluent-bit/etc/parser.conf + Parsers_file /fluent-bit/etc/parsers.conf Flush 1 Grace 30 [INPUT] diff --git a/others/fluentbit/parser.conf b/others/fluentbit/parsers.conf similarity index 100% rename from others/fluentbit/parser.conf rename to others/fluentbit/parsers.conf