Skip to content

Commit ee9150c

Browse files
committed
add compose file
1 parent 0f8b4d8 commit ee9150c

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ Pipeline successfully undeployed
133133

134134
## Docker setup
135135

136+
> [!TIP]
137+
> If you have docker-compose installed and you want to quickly get up and running, just do `docker-compose up -d`
138+
136139
Instead of launching the server in a separate shell like we did in the Quick Start, you can run it in a Docker
137140
container :
138141

compose.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
services:
2+
hayhooks:
3+
image: deepset/hayhooks:main
4+
container_name: hayhooks
5+
ports:
6+
- '1416:1416'
7+
volumes:
8+
- ./tests/test_files:/opt/pipelines
9+
healthcheck:
10+
test: ["CMD-SHELL", "curl --silent --fail localhost:1416/status || exit 1"]
11+
interval: 10s
12+
timeout: 10s
13+
retries: 3

0 commit comments

Comments
 (0)