data-prepper icon indicating copy to clipboard operation
data-prepper copied to clipboard

Log Ingestion Demo Guide Docker network prepended with different folder name

Open graytaylor0 opened this issue 3 years ago • 1 comments

Describe the issue This issue was brought up in #979. The Log Ingestion Demo Guide assumes that the docker-compose is run from the ../data-prepper/examples/log-ingestion folder. This leads to confusion since docker-compose prepends the project name to the network.

This prepend can be overridden by adding a standard --project-name flag to the docker-compose up command

 docker-compose --project-name "data-prepper" up -d

And then data prepper can be run and attached to the network with

docker run --name data-prepper -v /full/path/to/log_pipeline.yaml:/usr/share/data-prepper/pipelines.yaml --network "data-prepper_opensearch-net" opensearch-data-prepper:latest

graytaylor0 avatar Feb 04 '22 21:02 graytaylor0

I'd like to push forward with Docker Compose v3 files. Please update the instructions to include setting the project name.

dlvenable avatar Feb 04 '22 21:02 dlvenable