Skip to content

Commit

Permalink
add compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
masci committed Mar 7, 2024
1 parent 0f8b4d8 commit ee9150c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ Pipeline successfully undeployed

## Docker setup

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

Expand Down
13 changes: 13 additions & 0 deletions compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
services:
hayhooks:
image: deepset/hayhooks:main
container_name: hayhooks
ports:
- '1416:1416'
volumes:
- ./tests/test_files:/opt/pipelines
healthcheck:
test: ["CMD-SHELL", "curl --silent --fail localhost:1416/status || exit 1"]
interval: 10s
timeout: 10s
retries: 3

0 comments on commit ee9150c

Please sign in to comment.