Skip to content

Commit

Permalink
show how to mount default pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
masci committed Mar 6, 2024
1 parent 7866cd5 commit 2278bff
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
**Table of Contents**

- [Hayhooks](#hayhooks)
- [](#)
- [Quick start](#quick-start)
- [Install the package](#install-the-package)
- [Check Hayhooks status](#check-hayhooks-status)
Expand Down Expand Up @@ -148,6 +149,16 @@ $ docker buildx bake
...
```

There are 2 special folders in the container you can override using a `mount`:
1. A folder containing pipeline definitions that will be automatically deployed when the container starts
2. A folder containing custom components that Haystack will be able to import if part of a pipeline

For example, you can mount a local `./pipelines` folder containing pipelines you want to run at start-up like this:

```console
$ docker run --rm -p 1416:1416 -v $PWD/pipelines:/opt/pipelines "deepset/hayhooks:main"
```

## Next steps

At this stage Hayhooks is just a prototype, the natural next steps would be:
Expand Down

0 comments on commit 2278bff

Please sign in to comment.