Add Fluent Bit and New Relic configurations
This commit is contained in:
16
examples/fluent-bit/fluent-bit.conf
Normal file
16
examples/fluent-bit/fluent-bit.conf
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
[SERVICE]
|
||||||
|
Flush 1
|
||||||
|
Daemon off
|
||||||
|
[INPUT]
|
||||||
|
Name forward
|
||||||
|
Buffer_Chunk_Size 1M
|
||||||
|
Buffer_Max_Size 6M
|
||||||
|
# [OUTPUT]
|
||||||
|
# Name nrlogs
|
||||||
|
# Match *
|
||||||
|
# license_key ${LICENSE_KEY}
|
||||||
|
# base_uri https://log-api.eu.newrelic.com/log/v1
|
||||||
|
|
||||||
|
[OUTPUT]
|
||||||
|
Name stdout
|
||||||
|
Match *
|
||||||
9
examples/fluent-bit/fluent-bit.yaml
Normal file
9
examples/fluent-bit/fluent-bit.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
coolify-fluent-bit:
|
||||||
|
image: cr.fluentbit.io/fluent/fluent-bit:2.0
|
||||||
|
command: -c /fluent-bit.conf
|
||||||
|
volumes:
|
||||||
|
- ./fluent-bit.conf:/fluent-bit.conf
|
||||||
|
ports:
|
||||||
|
- 24224:24224
|
||||||
21
examples/newrelic.yaml
Normal file
21
examples/newrelic.yaml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
newrelic-infra:
|
||||||
|
container_name: newrelic-infra
|
||||||
|
image: newrelic/infrastructure:latest
|
||||||
|
networks:
|
||||||
|
- coolify
|
||||||
|
cap_add:
|
||||||
|
- SYS_PTRACE
|
||||||
|
privileged: true
|
||||||
|
pid: host
|
||||||
|
volumes:
|
||||||
|
- "/:/host:ro"
|
||||||
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
|
- "newrelic-infra:/etc/newrelic-infra"
|
||||||
|
environment:
|
||||||
|
- NRIA_LICENSE_KEY=${NRIA_LICENSE_KEY}
|
||||||
|
- NRIA_DISPLAY_NAME=${HOSTNAME}
|
||||||
|
|
||||||
|
networks:
|
||||||
|
coolify:
|
||||||
Reference in New Issue
Block a user