Sign inSign up

davidparry/dish-context-nginx

By davidparry

•Updated 5 months ago

This is a specific lightweight web application to allow dish to interact with theirContext Engine.

Image
Developer tools
0

656

davidparry/dish-context-nginx repository overview

⁠Running from Docker Hub

⁠Environment Variables
VariableRequiredDescriptionExample
CONTEXT_SERVER_BASEYesBase URL of the context serverhttps://context-retriever.demosts.st.codium.ai
CONTEXT_PATHYesAPI path prefix/v1/context/list-repositories
CONTEXT_TOKENNoBearer token for authentication. Defaults to NOT_PRESENT if not set.your-token-here
⁠Running the Container
docker run \
  -e CONTEXT_SERVER_BASE="<your-context-server-base-url>" \
  -e CONTEXT_PATH="<your-context-path>" \
  -e CONTEXT_TOKEN="<your-token>" \
  -p 3000:3000 \
  <image-name>

After the image is running you will see log output for your container similar to this example:

Wrote runtime config to /tmp/config.json
Testing context server connectivity: https://context-retriever.demosts.st.codium.ai/v1/context/list-repositories
Context server check passed. Response (first 1000 chars):
["qodo-se/screenshot-to-code","qodo-se/qm-configs"]

Tag summary

Content type

Image

Digest

sha256:90c034518…

Size

25.8 MB

Last updated

5 months ago

docker pull davidparry/dish-context-nginx