Skip to content

Commit 6984cfb

Browse files
committed
WKBCH-14: Add Fluentbit service to docker compose
1 parent cd16d69 commit 6984cfb

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

templates/global/docker-compose.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,26 @@ services:
7070
profiles:
7171
- base
7272

73+
fluentbit:
74+
image: ${FLUENTBIT_IMAGE}
75+
container_name: workbench-fluentbit
76+
network_mode: host
77+
depends_on:
78+
cloudserver:
79+
condition: service_started
80+
clickhouse-shard-1:
81+
condition: service_healthy
82+
clickhouse-shard-2:
83+
condition: service_healthy
84+
volumes:
85+
- ./config/fluentbit/fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf:ro
86+
- ./config/fluentbit/parsers.conf:/fluent-bit/etc/parsers.conf:ro
87+
- ./logs/cloudserver:/fluent-bit/log:ro
88+
- ./logs/fluentbit:/var/log/fluent-bit:rw
89+
- ./data/fluentbit:/fluent-bit/data:rw
90+
profiles:
91+
- feature-access-logging
92+
7393
vault:
7494
image: ${VAULT_IMAGE}
7595
container_name: workbench-vault

0 commit comments

Comments
 (0)