weaviate-test2 / README.md
wjm55
Refactor Dockerfile to integrate supervisord for managing Weaviate and Nginx services, replace start.sh with supervisord configuration, and enhance Nginx settings for improved proxy handling. Remove obsolete start.sh script.
72f5836
---
title: Weaviate Test2
emoji: 🦀
colorFrom: green
colorTo: blue
sdk: docker
pinned: false
app_port: 7860
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# Weaviate with Nginx Proxy
This Dockerfile sets up a container with both Weaviate and Nginx. Weaviate runs internally on ports 8080 (HTTP) and 50051 (gRPC), while Nginx forwards external requests from port 7860 to these internal ports.
## Build the Image
```bash
docker build -t weaviate-nginx .
```
## Run the Container
```bash
docker run -d -p 7860:7860 -v weaviate_data:/var/lib/weaviate --name weaviate-container weaviate-nginx
```
## Accessing Weaviate
- Access the Weaviate HTTP API at: http://localhost:7860
- The gRPC port is also accessible at port 7860
## Persistent Data
The container uses a Docker volume named `weaviate_data` to persist the Weaviate database.