data-prepper
data-prepper copied to clipboard
Log Ingestion Demo Guide Docker network prepended with different folder name
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
I'd like to push forward with Docker Compose v3 files. Please update the instructions to include setting the project name.