Skip to content

Commit

Permalink
Update Fluent Bit Docker configuration and remove obsolete YAML file
Browse files Browse the repository at this point in the history
  • Loading branch information
simlarsen committed Dec 4, 2024
1 parent e0f5d8f commit 38ad431
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion FluentBit/Dockerfile.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ USER root

EXPOSE 24224
EXPOSE 24284
EXPOSE 2020
EXPOSE 2020

CMD ["/fluent-bit/bin/fluent-bit", "-c", "/fluent-bit/etc/fluent-bit.yaml"]
2 changes: 2 additions & 0 deletions FluentBit/fluent-bit.yaml → FluentBit/etc/fluent-bit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ service:
http_server: true
http_listen: 0.0.0.0
http_port: 2020

pipeline:
inputs:
- name: random

outputs:
- name: stdout
match: '*'
2 changes: 1 addition & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ services:
file: ./docker-compose.base.yml
service: fluent-bit
volumes:
- ./FluentBit/fluent-bit.yaml:/fluent-bit/etc/fluent-bit.yaml
- ./FluentBit/etc:/fluent-bit/etc/
build:
network: host
context: .
Expand Down

0 comments on commit 38ad431

Please sign in to comment.