rename fluentbit compose file

This commit is contained in:
2025-11-09 12:10:39 +01:00
parent bddc8cdba7
commit cdb4d67c41
2 changed files with 24 additions and 1 deletions

23
compose.fluentbit.yaml Normal file
View File

@@ -0,0 +1,23 @@
services:
fluentbit:
image: fluent/fluent-bit:4.1.1-amd64
container_name: fluentbit
restart: unless-stopped
command: fluent-bit --config /fluent-bit.yaml
ports:
- "21883:1883"
- "24224:24224"
- "24224:24224/udp"
volumes:
- /opt/fluentbit/config.yaml:/fluent-bit.yaml
- /opt/collectd/usr/collectd/types.db:/usr/share/collectd/types.db
environment:
- MQTT_USER=${FLUENTBIT_MQTT_USER}
- MQTT_PASS=${FLUENTBIT_MQTT_PASS}
- DATABASE_HOST=${FLUENTBIT_DATABASE_HOST}
- DATABASE_PORT=${FLUENTBIT_DATABASE_PORT}
- DATABASE_USER=${FLUENTBIT_DATABASE_USER}
- DATABASE_PASS=${FLUENTBIT_DATABASE_PASS}
- DATABASE_NAME=${FLUENTBIT_DATABASE_NAME}
extra_hosts:
- host:192.168.2.200

View File

@@ -13,7 +13,7 @@ include:
- compose.beszel.yaml - compose.beszel.yaml
- compose.grafana.yaml - compose.grafana.yaml
- compose.photoprism.yaml - compose.photoprism.yaml
- compose.fluent-bit.yaml - compose.fluentbit.yaml
# Development # Development
- compose.gitea.yaml - compose.gitea.yaml