Skip to content

Add support to run prompt service directly in local#43

Merged
nehabagdia merged 2 commits into
mainfrom
fix/prompt-svc-local-mode
Mar 2, 2024
Merged

Add support to run prompt service directly in local#43
nehabagdia merged 2 commits into
mainfrom
fix/prompt-svc-local-mode

Conversation

@hari-kuriakose

Copy link
Copy Markdown
Contributor

What

Adds support to run prompt service directly in local, while running other services like backend in Docker containers.

Why

Backend running in Docker container should be able to talk to prompt service running directly in local.

How

  • Expose host domain name in backend docker container
  • Run prompt service on all interfaces in local
  • Use below config in backend .env
    # Prompt Service
    PROMPT_HOST=http://host.docker.internal
    PROMPT_PORT=5003
    

Notes on Testing

Able to connect successfully.

Checklist

I have read and understood the Contribution Guidelines.

* Run prompt service on all interfaces in local

@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

Comment thread docker/docker-compose.yaml
@nehabagdia
nehabagdia merged commit 197b9c8 into main Mar 2, 2024
@nehabagdia
nehabagdia deleted the fix/prompt-svc-local-mode branch March 2, 2024 07:22
pk-zipstack pushed a commit that referenced this pull request Aug 20, 2025
* Expose host domain name in backend docker container
* Run prompt service on all interfaces in local

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