Skip to content

Add optional docker services#42

Merged
nehabagdia merged 2 commits into
mainfrom
feat/optional-docker-svc
Mar 2, 2024
Merged

Add optional docker services#42
nehabagdia merged 2 commits into
mainfrom
feat/optional-docker-svc

Conversation

@hari-kuriakose

Copy link
Copy Markdown
Contributor

What

  • Add optional profile for services in docker compose
  • Update readme

Why

Some docker services need to be kept optional and thus not started by default.

For example, unstructured-io which has image size of 17GB. Users can choose to run this if they wish.

How

VERSION=dev docker compose -f docker-compose.yaml up -d will not run optional services.

VERSION=dev docker compose -f docker-compose.yaml --profile optional up -d will run everything including optional services.

Notes on Testing

Verified that on passing --profile optional unstructured-io service is started, otherwise not.

Checklist

I have read and understood the Contribution Guidelines.

@chandrasekharan-zipstack chandrasekharan-zipstack left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - but we do need to check if we handle the error properly when the service is not run and a user tries to create an unstructured community adapter

@nehabagdia
nehabagdia merged commit 38682d7 into main Mar 2, 2024
@nehabagdia
nehabagdia deleted the feat/optional-docker-svc branch March 2, 2024 07:23
pk-zipstack pushed a commit that referenced this pull request Aug 20, 2025
* Add optional docker services
* Update readme

Co-authored-by: Neha <115609453+nehabagdia@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants