Add Fluent Ingest service with configuration, Docker support, and tests

This commit is contained in:
Simon Larsen
2024-11-21 13:31:11 +00:00
parent 74e43f0526
commit 9244e49e6b
35 changed files with 5483 additions and 49 deletions

View File

@@ -340,10 +340,7 @@ services:
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
- /usr/src/app/node_modules/
- ./Common:/usr/src/Common
- /usr/src/Common/node_modules/
ports:
- '9932:9229' # Debugging port.
extends:
@@ -354,6 +351,24 @@ services:
context: .
dockerfile: ./Ingestor/Dockerfile
fluent-ingest:
volumes:
- ./FluentIngest:/usr/src/app
# Use node modules of the container and not host system.
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
- /usr/src/app/node_modules/
- ./Common:/usr/src/Common
- /usr/src/Common/node_modules/
ports:
- '9937:9229' # Debugging port.
extends:
file: ./docker-compose.base.yml
service: fluent-ingest
build:
network: host
context: .
dockerfile: ./FluentIngest/Dockerfile
# Fluentd. Required only for development. In production its the responsibility of the customer to run fluentd and pipe logs to OneUptime.
# We run this container just for development, to see if logs are piped.