Skip to content

Commit 2278bff

Browse files
committed
show how to mount default pipelines
1 parent 7866cd5 commit 2278bff

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
**Table of Contents**
99

1010
- [Hayhooks](#hayhooks)
11+
- [](#)
1112
- [Quick start](#quick-start)
1213
- [Install the package](#install-the-package)
1314
- [Check Hayhooks status](#check-hayhooks-status)
@@ -148,6 +149,16 @@ $ docker buildx bake
148149
...
149150
```
150151

152+
There are 2 special folders in the container you can override using a `mount`:
153+
1. A folder containing pipeline definitions that will be automatically deployed when the container starts
154+
2. A folder containing custom components that Haystack will be able to import if part of a pipeline
155+
156+
For example, you can mount a local `./pipelines` folder containing pipelines you want to run at start-up like this:
157+
158+
```console
159+
$ docker run --rm -p 1416:1416 -v $PWD/pipelines:/opt/pipelines "deepset/hayhooks:main"
160+
```
161+
151162
## Next steps
152163

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

0 commit comments

Comments
 (0)